summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/hash.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 18:31:41 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 18:31:41 +0000
commitd91b7c2d0fac80c74a2783b84fdba5ae0b941b1c (patch)
tree742976ab3a4d7a3a0d4e1f5dbe4d502844b37e9c /libexec/bootpd/hash.h
parent565689ac5bf6349e21b553f3e8f16d7daa1da57d (diff)
downloadFreeBSD-src-d91b7c2d0fac80c74a2783b84fdba5ae0b941b1c.zip
FreeBSD-src-d91b7c2d0fac80c74a2783b84fdba5ae0b941b1c.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Reviewed by: md5
Diffstat (limited to 'libexec/bootpd/hash.h')
-rw-r--r--libexec/bootpd/hash.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libexec/bootpd/hash.h b/libexec/bootpd/hash.h
index 51d0a5e..8ef1d91 100644
--- a/libexec/bootpd/hash.h
+++ b/libexec/bootpd/hash.h
@@ -25,6 +25,7 @@ SOFTWARE.
/*
* Generalized hash table ADT
+ * $FreeBSD$
*
* Provides multiple, dynamically-allocated, variable-sized hash tables on
* various data and keys.
@@ -93,11 +94,7 @@ SOFTWARE.
/*
* Define "hash_datum" as a universal data type
*/
-#ifdef __STDC__
typedef void hash_datum;
-#else
-typedef char hash_datum;
-#endif
typedef struct hash_memberstruct hash_member;
typedef struct hash_tblstruct hash_tbl;
@@ -120,11 +117,7 @@ struct hash_tblstruct {
};
/* ANSI function prototypes or empty arg list? */
-#ifdef __STDC__
#define P(args) args
-#else
-#define P(args) ()
-#endif
typedef int (*hash_cmpfp) P((hash_datum *, hash_datum *));
typedef void (*hash_freefp) P((hash_datum *));
OpenPOWER on IntegriCloud