summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/hash.h
diff options
context:
space:
mode:
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