diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 18:31:41 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 18:31:41 +0000 |
commit | d91b7c2d0fac80c74a2783b84fdba5ae0b941b1c (patch) | |
tree | 742976ab3a4d7a3a0d4e1f5dbe4d502844b37e9c /libexec/bootpd/hash.h | |
parent | 565689ac5bf6349e21b553f3e8f16d7daa1da57d (diff) | |
download | FreeBSD-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.h | 9 |
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 *)); |