1999-05-16 Roland McGrath <roland@baalperazim.frob.com>

* 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.
This commit is contained in:
Roland McGrath 1999-05-16 08:52:16 +00:00
parent 66f6a52b79
commit e196b7ddf5
7 changed files with 9 additions and 10 deletions

View 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

View 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 \

View File

@ -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>

View 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

View 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

View File

@ -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>