summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/ipf.h
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>1997-05-25 15:45:04 +0000
committerdarrenr <darrenr@FreeBSD.org>1997-05-25 15:45:04 +0000
commite0610b5498ab54082ddadbfebd47280245e3e0f8 (patch)
treef9876809ef0dd75bd4671d4afb7d3488f1972a5f /contrib/ipfilter/ipf.h
parentd25503500842fdd0550710a7afb953d1b8f20f00 (diff)
downloadFreeBSD-src-e0610b5498ab54082ddadbfebd47280245e3e0f8.zip
FreeBSD-src-e0610b5498ab54082ddadbfebd47280245e3e0f8.tar.gz
Import version 3.2alpha7
Diffstat (limited to 'contrib/ipfilter/ipf.h')
-rw-r--r--contrib/ipfilter/ipf.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/contrib/ipfilter/ipf.h b/contrib/ipfilter/ipf.h
index 4d35281..67554cb 100644
--- a/contrib/ipfilter/ipf.h
+++ b/contrib/ipfilter/ipf.h
@@ -1,14 +1,17 @@
/*
- * (C)opyright 1993-1996 by Darren Reed.
+ * (C)opyright 1993-1997 by Darren Reed.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and due credit is given
* to the original author and the contributors.
*
* @(#)ipf.h 1.12 6/5/96
- * $Id: ipf.h,v 2.0.2.4 1997/03/27 13:45:18 darrenr Exp $
+ * $Id: ipf.h,v 2.0.2.6 1997/04/30 13:49:05 darrenr Exp $
*/
+#ifndef __IPF_H__
+#define __IPF_H__
+
#ifndef SOLARIS
#define SOLARIS (defined(sun) && (defined(__svr4__) || defined(__SVR4)))
#endif
@@ -46,12 +49,6 @@ extern void binprint __P((struct frentry *)), initparse __P((void));
extern u_short portnum __P((char *));
-#if defined(__SVR4) || defined(__svr4__)
-#define index strchr
-#define bzero(a,b) memset(a, 0, b)
-#define bcopy(a,b,c) memmove(b,a,c)
-#endif
-
struct ipopt_names {
int on_value;
int on_bit;
@@ -79,3 +76,4 @@ extern char *sys_errlist[];
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#endif
+#endif /* __IPF_H__ */
OpenPOWER on IntegriCloud