summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/socket.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-20 12:28:19 +0000
commitdc28f16d8ee251f2510631cfa4e043bbe4a82a8b (patch)
treeb30ebd2ba22c7e9d5ffdbf31bdb98b8ca31511f9 /cpukit/libnetworking/sys/socket.h
parent2004-04-20 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-dc28f16d8ee251f2510631cfa4e043bbe4a82a8b.tar.bz2
Use -D_KERNEL instead of -DKERNEL for greater FreeBSD compliance.
Diffstat (limited to 'cpukit/libnetworking/sys/socket.h')
-rw-r--r--cpukit/libnetworking/sys/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
index 6442581db6..544bdac10f 100644
--- a/cpukit/libnetworking/sys/socket.h
+++ b/cpukit/libnetworking/sys/socket.h
@@ -342,7 +342,7 @@ struct omsghdr {
int msg_accrightslen;
};
-#ifndef KERNEL
+#ifndef _KERNEL
__BEGIN_DECLS
int accept __P((int, struct sockaddr *, int *));
@@ -365,7 +365,7 @@ int socket __P((int, int, int));
int socketpair __P((int, int, int, int *));
__END_DECLS
-#else /* KERNEL */
+#else /* _KERNEL */
void pfctlinput __P((int, struct sockaddr *));
-#endif /* !KERNEL */
+#endif /* !_KERNEL */
#endif /* !_SYS_SOCKET_H_ */