1999-05-16 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 16 May 1999 08:52:16 +0000 (08:52 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 16 May 1999 08:52:16 +0000 (08:52 +0000)
* sysdeps/unix/sysv/linux/sys/socketvar.h: Moved to ...
* sysdeps/generic/sys/socketvar.h: ... here.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Moved to ...
* sysdeps/generic/netinet/in_systm.h: ... here.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/in_systm.h,
sys/socketvar.h.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Likewise.
* inet/Makefile (headers): Add netinet/in_systm.h here.
* socket/Makefile (headers): Add sys/socketvar.h here.

inet/Makefile
socket/Makefile
sysdeps/generic/netinet/in_systm.h [moved from sysdeps/unix/sysv/linux/netinet/in_systm.h with 100% similarity]
sysdeps/generic/sys/socketvar.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/Dist
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/sys/socketvar.h [deleted file]

index d37cfc7..12da863 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,8 @@
 #
 subdir := inet
 
-headers        := netinet/ether.h netinet/in.h netinet/if_ether.h \
+headers        := netinet/ether.h netinet/in.h netinet/in_systm.h \
+          netinet/if_ether.h \
           netinet/tcp.h netinet/ip.h $(wildcard arpa/*.h protocols/*.h) \
           aliases.h netinet/ip6.h netinet/icmp6.h bits/in.h
 
index 4f8f85f..430b758 100644 (file)
@@ -21,7 +21,8 @@
 #
 subdir := socket
 
-headers        := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h
+headers        := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
+          sys/socketvar.h
 
 routines := accept bind connect getpeername getsockname getsockopt     \
            listen recv recvfrom recvmsg send sendmsg sendto            \
diff --git a/sysdeps/generic/sys/socketvar.h b/sysdeps/generic/sys/socketvar.h
new file mode 100644 (file)
index 0000000..b177158
--- /dev/null
@@ -0,0 +1,3 @@
+/* This header is used on many systems but for GNU we have everything
+   already defined in the standard header.  */
+#include <sys/socket.h>
index fca513d..452b4f0 100644 (file)
@@ -36,7 +36,6 @@ neteconet/ec.h
 netinet/if_fddi.h
 netinet/if_tr.h
 netinet/igmp.h
-netinet/in_systm.h
 netpacket/packet.h
 netipx/ipx.h
 netrom/netrom.h
@@ -64,7 +63,6 @@ sys/prctl.h
 sys/procfs.h
 sys/quota.h
 sys/sendfile.h
-sys/socketvar.h
 sys/soundcard.h
 sys/sysctl.h
 sys/sysinfo.h
index 69c08ea..04ddf91 100644 (file)
@@ -86,8 +86,7 @@ sysdep_headers += bits/pthreadtypes.h
 endif
 
 ifeq ($(subdir),inet)
-sysdep_headers += sys/socketvar.h netinet/in_systm.h \
-                 netinet/if_fddi.h netinet/if_tr.h netinet/igmp.h \
+sysdep_headers += netinet/if_fddi.h netinet/if_tr.h netinet/igmp.h \
                  netipx/ipx.h netash/ash.h netax25/ax25.h netatalk/at.h \
                  netrom/netrom.h netpacket/packet.h netrose/rose.h \
                  neteconet/ec.h
diff --git a/sysdeps/unix/sysv/linux/sys/socketvar.h b/sysdeps/unix/sysv/linux/sys/socketvar.h
deleted file mode 100644 (file)
index 3945db1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-/* This header is used on many systems but for Linux we have everything
-   already defined in the standard header.  */
-#include <sys/socket.h>