diff options
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r-- | slirp/slirp.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index 203deec480..5b5df59762 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -23,11 +23,6 @@ typedef char *caddr_t; # include <sys/bitypes.h> #endif - -#ifndef HAVE_MEMMOVE -#define memmove(x, y, z) bcopy(y, x, z) -#endif - #ifndef _WIN32 #include <sys/uio.h> #endif @@ -37,17 +32,6 @@ typedef char *caddr_t; #include <arpa/inet.h> #endif -/* Systems lacking strdup() definition in <string.h>. */ -#if defined(ultrix) -char *strdup(const char *); -#endif - -/* Systems lacking malloc() definition in <stdlib.h>. */ -#if defined(ultrix) || defined(hcx) -void *malloc(size_t arg); -void free(void *ptr); -#endif - #ifndef NO_UNIX_SOCKETS #include <sys/un.h> #endif @@ -259,18 +243,6 @@ void if_start(Slirp *); void if_start(struct ttys *); #endif -#ifndef HAVE_STRERROR - char *strerror(int error); -#endif - -#ifndef HAVE_INDEX - char *index(const char *, int); -#endif - -#ifndef HAVE_GETHOSTID - long gethostid(void); -#endif - #ifndef _WIN32 #include <netdb.h> #endif |