diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/port/dgux.h | 3 | ||||
| -rw-r--r-- | src/include/port/nextstep.h | 19 | ||||
| -rw-r--r-- | src/include/port/sunos4.h | 7 | ||||
| -rw-r--r-- | src/include/port/svr4.h | 3 | ||||
| -rw-r--r-- | src/include/port/ultrix4.h | 57 | ||||
| -rw-r--r-- | src/include/port/univel.h | 8 | ||||
| -rw-r--r-- | src/include/storage/s_lock.h | 13 |
7 files changed, 0 insertions, 110 deletions
diff --git a/src/include/port/dgux.h b/src/include/port/dgux.h deleted file mode 100644 index 582be12612b..00000000000 --- a/src/include/port/dgux.h +++ /dev/null @@ -1,3 +0,0 @@ -/* src/include/port/dgux.h */ - -/* nothing needed */ diff --git a/src/include/port/nextstep.h b/src/include/port/nextstep.h deleted file mode 100644 index ff4ea40f4e5..00000000000 --- a/src/include/port/nextstep.h +++ /dev/null @@ -1,19 +0,0 @@ -/* src/include/port/nextstep.h */ - -#include "libc.h" -#include <sys/ioctl.h> -#if defined(__STRICT_ANSI__) -#define isascii(c) ((unsigned)(c)<=0177) -#endif -extern char *strdup(const char *string); - -#ifndef _POSIX_SOURCE -typedef unsigned short mode_t; -typedef int sigset_t; - -#define SIG_BLOCK 00 -#define SIG_UNBLOCK 01 -#define SIG_SETMASK 02 -#endif - -#define NO_WAITPID diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h deleted file mode 100644 index 3e39e1efc9f..00000000000 --- a/src/include/port/sunos4.h +++ /dev/null @@ -1,7 +0,0 @@ -/* - * src/include/port/sunos4.h - * - * sprintf() returns char *, not int, on SunOS 4.1.x */ -#define SPRINTF_CHAR - -#include <unistd.h> diff --git a/src/include/port/svr4.h b/src/include/port/svr4.h deleted file mode 100644 index 57b270c8568..00000000000 --- a/src/include/port/svr4.h +++ /dev/null @@ -1,3 +0,0 @@ -/* src/include/port/svr4.h */ - -/* nothing needed */ diff --git a/src/include/port/ultrix4.h b/src/include/port/ultrix4.h deleted file mode 100644 index 279f990f7f6..00000000000 --- a/src/include/port/ultrix4.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * src/include/port/ultrix4.h - */ -#define NOFIXADE -#define NEED_STRDUP - -/* - * Except for those system calls and library functions that are either - * - covered by the C standard library and Posix.1 - * - or need a declaration to declare parameter or return types, - * most Ultrix 4 calls are not declared in the system header files. - * The rest of this header is used to remedy this for PostgreSQL to give a - * warning-free compilation. - */ - -#include <sys/types.h> /* Declare various types, e.g. size_t, fd_set */ - -extern int fp_class_d(double); -extern long random(void); - -struct rusage; -extern int getrusage(int, struct rusage *); - -extern int ioctl(int, unsigned long,...); - -extern int socket(int, int, int); -struct sockaddr; -extern int connect(int, const struct sockaddr *, int); -typedef int ssize_t; -extern ssize_t send(int, const void *, size_t, int); -extern ssize_t recv(int, void *, size_t, int); -extern int setsockopt(int, int, int, const void *, int); -extern int bind(int, const struct sockaddr *, int); -extern int listen(int, int); -extern int accept(int, struct sockaddr *, int *); -extern int getsockname(int, struct sockaddr *, int *); -extern ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, int *); -extern ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, int); -struct timeval; -extern int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); - -extern int gethostname(char *, int); - -extern int getopt(int, char *const *, const char *); -extern int putenv(const char *); - -struct itimerval; -extern int setitimer(int, const struct itimerval *, struct itimerval *); -struct timezone; -extern int gettimeofday(struct timeval *, struct timezone *); - -extern int fsync(int); -extern int ftruncate(int, off_t); - -extern char *crypt(char *, char *); - -/* End of ultrix4.h */ diff --git a/src/include/port/univel.h b/src/include/port/univel.h deleted file mode 100644 index bb2409bd89d..00000000000 --- a/src/include/port/univel.h +++ /dev/null @@ -1,8 +0,0 @@ -/* - * src/include/port/univel.h - * - *************************************** - * Define this if you are compiling with - * the native UNIXWARE C compiler. - ***************************************/ -#define USE_UNIVEL_CC diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h index d43aeca0020..d4a783f63d4 100644 --- a/src/include/storage/s_lock.h +++ b/src/include/storage/s_lock.h @@ -884,19 +884,6 @@ typedef int slock_t; #endif /* _AIX */ -#if defined (nextstep) /* Nextstep */ -#define HAS_TEST_AND_SET - -typedef struct mutex slock_t; - -#define S_LOCK(lock) mutex_lock(lock) -#define S_UNLOCK(lock) mutex_unlock(lock) -#define S_INIT_LOCK(lock) mutex_init(lock) -/* For Mach, we have to delve inside the entrails of `struct mutex'. Ick! */ -#define S_LOCK_FREE(alock) ((alock)->lock == 0) -#endif /* nextstep */ - - /* These are in s_lock.c */ |
