aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2007-03-23 08:30:55 +0000
committerMagnus Hagander <magnus@hagander.net>2007-03-23 08:30:55 +0000
commit1ca6ab1c783b1d7633c2253997c3830ed1e10b07 (patch)
tree79d8c66039e7b6503b08af599a3e6103771d7bcf
parent1e2bfb58110cf6d125b4dda3dc670444ff1b9d2c (diff)
downloadpostgresql-1ca6ab1c783b1d7633c2253997c3830ed1e10b07.tar.gz
postgresql-1ca6ab1c783b1d7633c2253997c3830ed1e10b07.zip
Remove headers for old sysv shmem emulation that I forgot.
Also remove headers for old sysv semaphore emulation that were forgotten when that was changed about a year ago.
-rw-r--r--src/include/port/win32.h38
1 files changed, 1 insertions, 37 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 047d513befe..96eaa57cf6a 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.72 2007/01/26 20:06:52 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.73 2007/03/23 08:30:55 mha Exp $ */
#if defined(_MSC_VER) || defined(__BORLANDC__)
#define WIN32_ONLY_COMPILER
@@ -76,42 +76,6 @@
#define SETVAL 131072
#define GETPID 262144
-/*
- * Shared memory
- */
-struct shmid_ds
-{
- int dummy;
- int shm_nattch;
-};
-
-int shmdt(const void *shmaddr);
-void *shmat(int memId, void *shmaddr, int flag);
-int shmctl(int shmid, int flag, struct shmid_ds * dummy);
-int shmget(int memKey, int size, int flag);
-
-
-/*
- * Semaphores
- */
-union semun
-{
- int val;
- struct semid_ds *buf;
- unsigned short *array;
-};
-
-struct sembuf
-{
- int sem_flg;
- int sem_op;
- int sem_num;
-};
-
-int semctl(int semId, int semNum, int flag, union semun);
-int semget(int semKey, int semNum, int flags);
-int semop(int semId, struct sembuf * sops, int flag);
-
/*
* Signal stuff