From 94b488530d1e9c70a2809322bf85d0d2e57b8969 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 23 Mar 2007 08:30:55 +0000 Subject: [PATCH] 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. --- src/include/port/win32.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 0f162de07d..418593a6db 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -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 -- 2.39.5