From e108b91da70550f775593f4f464be0e71f094138 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Fri, 13 May 2016 11:24:55 +0000 Subject: [PATCH] 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 --- sys/boot/geli/geliboot.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/boot/geli/geliboot.h b/sys/boot/geli/geliboot.h index 61e64f1931e3..83df15295717 100644 --- a/sys/boot/geli/geliboot.h +++ b/sys/boot/geli/geliboot.h @@ -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_ */