diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-01-24 22:50:57 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-01-24 22:50:57 +0000 |
| commit | 72295139434d26c6da565faee2f50cb6fa900d43 (patch) | |
| tree | fe3868a4a1f475cc4d7adbc7ab069052b5d67b20 /src/include/storage/ipc.h | |
| parent | 27317a0d7c267ef356f7620f00769363007fcb3f (diff) | |
| download | postgresql-72295139434d26c6da565faee2f50cb6fa900d43.tar.gz | |
Fix prototypes so they don't look like function definitions.
Diffstat (limited to 'src/include/storage/ipc.h')
| -rw-r--r-- | src/include/storage/ipc.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h index de428469f1..d1023e48f8 100644 --- a/src/include/storage/ipc.h +++ b/src/include/storage/ipc.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: ipc.h,v 1.22 1997/09/22 15:49:11 momjian Exp $ + * $Id: ipc.h,v 1.23 1998/01/24 22:50:08 momjian Exp $ * * NOTES * This file is very architecture-specific. This stuff should actually @@ -75,8 +75,7 @@ extern void exitpg(int code); extern void quasi_exitpg(void); extern int on_exitpg(void (*function) (), caddr_t arg); -extern IpcSemaphoreId -IpcSemaphoreCreate(IpcSemaphoreKey semKey, +extern IpcSemaphoreId IpcSemaphoreCreate(IpcSemaphoreKey semKey, int semNum, int permission, int semStartValue, int removeOnExit, int *status); extern void IpcSemaphoreKill(IpcSemaphoreKey key); @@ -84,8 +83,7 @@ extern void IpcSemaphoreLock(IpcSemaphoreId semId, int sem, int lock); extern void IpcSemaphoreUnlock(IpcSemaphoreId semId, int sem, int lock); extern int IpcSemaphoreGetCount(IpcSemaphoreId semId, int sem); extern int IpcSemaphoreGetValue(IpcSemaphoreId semId, int sem); -extern IpcMemoryId -IpcMemoryCreate(IpcMemoryKey memKey, uint32 size, +extern IpcMemoryId IpcMemoryCreate(IpcMemoryKey memKey, uint32 size, int permission); extern IpcMemoryId IpcMemoryIdGet(IpcMemoryKey memKey, uint32 size); extern char *IpcMemoryAttach(IpcMemoryId memId); |
