From d68eb8fee6d53373bd6305628015b381d50e5a81 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Fri, 1 Aug 2003 17:38:34 +0000 Subject: add __bounded__ attributes for userland headers; enabled with -Wbounded ok deraadt@ --- include/rmd160.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/rmd160.h') 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 */ -- cgit v1.2.3