BSD sockets library relies on parlib
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Apr 2014 22:38:09 +0000 (15:38 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 29 Apr 2014 23:45:27 +0000 (16:45 -0700)
commitf5456552f4c4a99f0e81267bcaa28a7f2447b70d
treef0b40869de6abcaab109af60e7f94067f138e7e2
parent2905df461d8bd075ae30efd5191d7e3b23b73880
BSD sockets library relies on parlib

Included via "priv.h".  Had to add some #includes there, since they were
assuming priv.h would be included after some other files.

Also removed ntohl.c.  priv.h includes glibc's version.

I originally did this to make a poor-ftrace of the BSD sockets library.  It's
probably easier to just put -include parlib.h into the user/bsd/Makefile in the
future.  Cleaning out ntohl.c was nice.
13 files changed:
Makefile
user/bsd/gethostbyaddr.c
user/bsd/gethostname.c
user/bsd/getservbyaddr.c
user/bsd/inet_addr.c
user/bsd/inet_ntoa.c
user/bsd/nptohl.c
user/bsd/ntohl.c [deleted file]
user/bsd/priv.h
user/bsd/putenv.c
user/bsd/rresvport.c
user/bsd/shutdown.c
user/bsd/socketpair.c