Add geliboot_crypt(..) definition to geliboot.h to mute a -Wimplicit-function-declaration

warning

Reported by: clang
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2016-05-13 11:24:55 +00:00
parent 3f9bee9c5a
commit e108b91da7

View File

@ -86,4 +86,7 @@ int geli_decrypt(u_int algo, u_char *data, size_t datasize,
const u_char *key, size_t keysize, const uint8_t* iv);
int geli_passphrase(char *pw, int disk, int parttype, int part, struct dsk *dskp);
int geliboot_crypt(u_int algo, int enc, u_char *data, size_t datasize,
const u_char *key, size_t keysize, u_char *iv);
#endif /* _GELIBOOT_H_ */