summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-07-01 00:33:42 +0000
committerbde <bde@FreeBSD.org>1997-07-01 00:33:42 +0000
commit690047b9cbc0582b44ac9ffa57854cdf0d574baa (patch)
treee88d040a577f5ed828c9ea51037a031a88f9a7db /usr.sbin/IPXrouted
parentbceaff97ed4f103600b6f52d43d002d0f7e8ed57 (diff)
downloadFreeBSD-src-690047b9cbc0582b44ac9ffa57854cdf0d574baa.zip
FreeBSD-src-690047b9cbc0582b44ac9ffa57854cdf0d574baa.tar.gz
Don't depend on <machine/cpufunc.h> including <sys/types.h>. In fact,
don't include this kernel-only header at all, since we don't need it.
Diffstat (limited to 'usr.sbin/IPXrouted')
-rw-r--r--usr.sbin/IPXrouted/sap_tables.c5
-rw-r--r--usr.sbin/IPXrouted/tables.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/IPXrouted/sap_tables.c b/usr.sbin/IPXrouted/sap_tables.c
index 2f584dc..1e33dd4 100644
--- a/usr.sbin/IPXrouted/sap_tables.c
+++ b/usr.sbin/IPXrouted/sap_tables.c
@@ -28,14 +28,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: sap_tables.c,v 1.3 1997/02/22 16:01:01 peter Exp $
*/
#include "defs.h"
#include <string.h>
#include <stdlib.h>
-/* XXX I thought that this should work! #include <sys/systm.h> */
-#include <machine/cpufunc.h>
#define FIXLEN(s) { if ((s)->sa_len == 0) (s)->sa_len = sizeof (*(s));}
@@ -323,4 +321,3 @@ sap_delete(struct sap_entry *sap)
remque(sap);
free(sap);
}
-
diff --git a/usr.sbin/IPXrouted/tables.c b/usr.sbin/IPXrouted/tables.c
index 17d1330..17b2660 100644
--- a/usr.sbin/IPXrouted/tables.c
+++ b/usr.sbin/IPXrouted/tables.c
@@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: tables.c,v 1.4 1997/02/22 16:01:03 peter Exp $
*/
#ifndef lint
@@ -47,8 +47,6 @@ static char sccsid[] = "@(#)tables.c 8.1 (Berkeley) 6/5/93";
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
-/* XXX I thought that this should work! #include <sys/systm.h> */
-#include <machine/cpufunc.h>
#ifndef DEBUG
#define DEBUG 0
@@ -467,4 +465,3 @@ rtioctl(action, ort)
return write(r, (char *)&w, rtm.rtm_msglen);
#endif /* RTM_ADD */
}
-
OpenPOWER on IntegriCloud