svn commit: r299661 - head/sys/boot/geli
Garrett Cooper
ngie at FreeBSD.org
Fri May 13 11:24:57 UTC 2016
Author: ngie
Date: Fri May 13 11:24:55 2016
New Revision: 299661
URL: https://svnweb.freebsd.org/changeset/base/299661
Log:
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
Modified:
head/sys/boot/geli/geliboot.h
Modified: head/sys/boot/geli/geliboot.h
==============================================================================
--- head/sys/boot/geli/geliboot.h Fri May 13 11:20:21 2016 (r299660)
+++ head/sys/boot/geli/geliboot.h Fri May 13 11:24:55 2016 (r299661)
@@ -86,4 +86,7 @@ int geli_decrypt(u_int algo, u_char *dat
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_ */
More information about the svn-src-head
mailing list