summaryrefslogtreecommitdiff
path: root/include/ohash.h
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-06-26 19:34:18 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-06-26 19:34:18 +0000
commit69f0ac8eb00f7ddb2deb05e2fde760337c2a92d7 (patch)
treeb633a88bac8be3c920064b38e7809bae89fb3b67 /include/ohash.h
parent2720804defc704fbdfb84d95fd8adce01346ef1a (diff)
backout the __bounded__ attributes for a while; requested by deraadt@
Diffstat (limited to 'include/ohash.h')
-rw-r--r--include/ohash.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ohash.h b/include/ohash.h
index 7824bccd7ad..bdb024a45db 100644
--- a/include/ohash.h
+++ b/include/ohash.h
@@ -1,6 +1,6 @@
#ifndef OHASH_H
#define OHASH_H
-/* $OpenBSD: ohash.h,v 1.4 2003/06/26 18:35:13 avsm Exp $ */
+/* $OpenBSD: ohash.h,v 1.5 2003/06/26 19:34:17 avsm Exp $ */
/* ex:ts=8 sw=4:
*/
@@ -68,8 +68,7 @@ unsigned int ohash_lookup_string(struct ohash *, const char *, u_int32_t);
unsigned int ohash_lookup_interval(struct ohash *, const char *,
const char *, u_int32_t);
unsigned int ohash_lookup_memory(struct ohash *, const char *,
- size_t, u_int32_t)
- __attribute__ ((__bounded__(__string__,2,3)));
+ size_t, u_int32_t);
void *ohash_find(struct ohash *, unsigned int);
void *ohash_remove(struct ohash *, unsigned int);
void *ohash_insert(struct ohash *, unsigned int, void *);