diff options
author | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-29 04:46:21 +0000 |
commit | 15b9bcb121e1f3735a2c98a11afdb52a03301d7e (patch) | |
tree | e999c95eb5db56737efc17feeb385a77941021bb /sys/netatalk | |
parent | 9ed7cb48bf4a00a23e7489706b0effe1c516cb5b (diff) | |
download | FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.zip FreeBSD-src-15b9bcb121e1f3735a2c98a11afdb52a03301d7e.tar.gz |
Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
Diffstat (limited to 'sys/netatalk')
-rw-r--r-- | sys/netatalk/aarp.h | 4 | ||||
-rw-r--r-- | sys/netatalk/at_var.h | 4 | ||||
-rw-r--r-- | sys/netatalk/ddp_var.h | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/netatalk/aarp.h b/sys/netatalk/aarp.h index d97c31f..1a8771c 100644 --- a/sys/netatalk/aarp.h +++ b/sys/netatalk/aarp.h @@ -1,6 +1,8 @@ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. * All Rights Reserved. + * + * $FreeBSD$ */ #ifndef _NETATALK_AARP_H_ @@ -53,7 +55,7 @@ struct aarptab { #define AARPOP_RESPONSE 0x02 #define AARPOP_PROBE 0x03 -#ifdef KERNEL +#ifdef _KERNEL struct aarptab *aarptnew(struct at_addr *); #endif diff --git a/sys/netatalk/at_var.h b/sys/netatalk/at_var.h index b6829ba..c4310aa 100644 --- a/sys/netatalk/at_var.h +++ b/sys/netatalk/at_var.h @@ -19,6 +19,8 @@ * Ann Arbor, Michigan * +1-313-763-0525 * netatalk@itd.umich.edu + * + * $FreeBSD$ */ #ifndef _NETATALK_AT_VAR_H_ @@ -57,7 +59,7 @@ struct at_aliasreq { #define AFA_PROBING 0x0002 #define AFA_PHASE2 0x0004 -#ifdef KERNEL +#ifdef _KERNEL extern struct at_ifaddr *at_ifaddr; extern struct ifqueue atintrq1, atintrq2; #endif diff --git a/sys/netatalk/ddp_var.h b/sys/netatalk/ddp_var.h index 43511bf..360f06f 100644 --- a/sys/netatalk/ddp_var.h +++ b/sys/netatalk/ddp_var.h @@ -1,6 +1,8 @@ /* * Copyright (c) 1990,1994 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. + * + * $FreeBSD$ */ #ifndef _NETATALK_DDP_VAR_H_ @@ -28,7 +30,7 @@ struct ddpstat { long ddps_nosockspace; /* no space in sockbuf for packet */ }; -#ifdef KERNEL +#ifdef _KERNEL extern int ddp_cksum; extern struct ddpcb *ddp_ports[ ]; extern struct ddpcb *ddpcb; |