diff options
author | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-08-01 17:38:34 +0000 |
---|---|---|
committer | Anil Madhavapeddy <avsm@cvs.openbsd.org> | 2003-08-01 17:38:34 +0000 |
commit | d68eb8fee6d53373bd6305628015b381d50e5a81 (patch) | |
tree | 1a024d606a1af2da709084dc790f2510d6665ae6 /include/rmd160.h | |
parent | 594ac08ee4888800f45f3229059b0bcb5d56b45f (diff) |
add __bounded__ attributes for userland headers; enabled with -Wbounded
ok deraadt@
Diffstat (limited to 'include/rmd160.h')
-rw-r--r-- | include/rmd160.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rmd160.h b/include/rmd160.h index 2fe1a4b9801..de1e034c170 100644 --- a/include/rmd160.h +++ b/include/rmd160.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rmd160.h,v 1.9 2003/06/26 19:34:17 avsm Exp $ */ +/* $OpenBSD: rmd160.h,v 1.10 2003/08/01 17:38:33 avsm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. * @@ -41,7 +41,8 @@ void RMD160Update(RMD160_CTX *, const u_char *, u_int32_t); void RMD160Final(u_char [20], RMD160_CTX *); char *RMD160End(RMD160_CTX *, char *); char *RMD160File(char *, char *); -char *RMD160Data(const u_char *, size_t, char *); +char *RMD160Data(const u_char *, size_t, char *) + __attribute__((__bounded__(__string__,3,2))); __END_DECLS #endif /* _RMD160_H */ |