summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_socketcall.h
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-10-03 20:17:36 +0000
committerchristos <christos@NetBSD.org>1998-10-03 20:17:36 +0000
commit908291d2fe8cb6a2e32a51bc81af769b53ddb7f8 (patch)
tree94648880c2137c1913a1b3c1f7d2e8eb18d6fea2 /sys/compat/linux/common/linux_socketcall.h
parent78f9c9bd250d162debb35400ee643ad8fc32d505 (diff)
Attempt to fix the mess.
Diffstat (limited to 'sys/compat/linux/common/linux_socketcall.h')
-rw-r--r--sys/compat/linux/common/linux_socketcall.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/sys/compat/linux/common/linux_socketcall.h b/sys/compat/linux/common/linux_socketcall.h
index 8ee614304f8..ee60f93a77d 100644
--- a/sys/compat/linux/common/linux_socketcall.h
+++ b/sys/compat/linux/common/linux_socketcall.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_socketcall.h,v 1.2 1998/10/01 03:34:50 erh Exp $ */
+/* $NetBSD: linux_socketcall.h,v 1.3 1998/10/03 20:17:43 christos Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -67,9 +67,11 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _MULTIARCH_LINUX_SOCKETCALL_H
-#define _MULTIARCH_LINUX_SOCKETCALL_H
+#ifndef _LINUX_SOCKETCALL_H
+#define _LINUX_SOCKETCALL_H
+/* Alpha does not use the socketcall multiplexer */
+#if !defined(__alpha__)
/* Used on: arm, i386, m68k, mips, ppc, sparc, sparc64 */
/* Not used on: alpha */
@@ -225,7 +227,7 @@ struct linux_sys_recvmsg_args {
syscallarg(u_int) flags;
};
-#ifdef _KERNEL
+# ifdef _KERNEL
__BEGIN_DECLS
int linux_sys_socket __P((struct proc *, void *, register_t *));
int linux_sys_socketpair __P((struct proc *, void *, register_t *));
@@ -234,6 +236,8 @@ int linux_sys_recvfrom __P((struct proc *, void *, register_t *));
int linux_sys_setsockopt __P((struct proc *, void *, register_t *));
int linux_sys_getsockopt __P((struct proc *, void *, register_t *));
__END_DECLS
-#endif /* !_KERNEL */
+# endif /* !_KERNEL */
-#endif /* !_MULTIARCH_LINUX_SOCKETCALL_H */
+# endif
+
+#endif /* !_LINUX_SOCKETCALL_H */