Skip to content

Commit 1ca6ab1

Browse files
committed
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.
1 parent 1e2bfb5 commit 1ca6ab1

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

src/include/port/win32.h

Lines changed: 1 addition & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.72 2007/01/26 20:06:52 tgl Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.73 2007/03/23 08:30:55 mha Exp $ */
22

33
#if defined(_MSC_VER) || defined(__BORLANDC__)
44
#define WIN32_ONLY_COMPILER
@@ -76,42 +76,6 @@
7676
#define SETVAL 131072
7777
#define GETPID 262144
7878

79-
/*
80-
* Shared memory
81-
*/
82-
struct shmid_ds
83-
{
84-
int dummy;
85-
int shm_nattch;
86-
};
87-
88-
int shmdt(const void *shmaddr);
89-
void *shmat(int memId, void *shmaddr, int flag);
90-
int shmctl(int shmid, int flag, struct shmid_ds * dummy);
91-
int shmget(int memKey, int size, int flag);
92-
93-
94-
/*
95-
* Semaphores
96-
*/
97-
union semun
98-
{
99-
int val;
100-
struct semid_ds *buf;
101-
unsigned short *array;
102-
};
103-
104-
struct sembuf
105-
{
106-
int sem_flg;
107-
int sem_op;
108-
int sem_num;
109-
};
110-
111-
int semctl(int semId, int semNum, int flag, union semun);
112-
int semget(int semKey, int semNum, int flags);
113-
int semop(int semId, struct sembuf * sops, int flag);
114-
11579

11680
/*
11781
* Signal stuff

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy