Removed superfluous headers - note, this needs to be ported over to the new stack
API once it exists, it doesn't build anymore. Would now link against libnetwork.so instead of libbind.so/libsocket.so. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17968 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
3e6707fd28
commit
1f1041c32b
@ -12,7 +12,7 @@ UsePrivateHeaders net ;
|
||||
|
||||
BinCommand arp :
|
||||
arp.c
|
||||
: libbind.so libsocket.so $(SELECT_UNAME_ETC_LIB) ;
|
||||
: libnetwork.so $(SELECT_UNAME_ETC_LIB) ;
|
||||
|
||||
# Installation -- in the test directory for the time being
|
||||
HaikuInstall install-networking
|
||||
|
@ -39,9 +39,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/socket.h>
|
||||
//#include <sys/sysctl.h>
|
||||
|
||||
#include <net/if.h>
|
||||
#include <net/if_dl.h>
|
||||
@ -53,17 +51,12 @@
|
||||
|
||||
#include <netdb.h>
|
||||
#include <errno.h>
|
||||
//#include <err.h>
|
||||
//#include <nlist.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
//#include <paths.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
// phoudoin, 20031026: FIXME: sysctl.h is a kernel private header!
|
||||
extern int sysctl(int *, uint, void *, size_t *, void *, size_t);
|
||||
|
||||
int delete (const char *, const char *);
|
||||
void search(in_addr_t addr, void (*action)(struct sockaddr_dl *sdl,
|
||||
|
Loading…
Reference in New Issue
Block a user