aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/qnx4/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/port/qnx4/shm.h')
-rw-r--r--src/backend/port/qnx4/shm.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/backend/port/qnx4/shm.h b/src/backend/port/qnx4/shm.h
deleted file mode 100644
index 1df6b0da56e..00000000000
--- a/src/backend/port/qnx4/shm.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * shm.h
- * System V Shared Memory Emulation
- *
- * Copyright (c) 1999, repas AEG Automation GmbH
- *
- *
- * IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/port/qnx4/shm.h,v 1.8 2003/11/29 19:51:54 pgsql Exp $
- *
- *-------------------------------------------------------------------------
- */
-
-#ifndef _SYS_SHM_H
-#define _SYS_SHM_H
-
-#include <sys/ipc.h>
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-#define SHM_R 0400 /* read permission */
-#define SHM_W 0200 /* write permission */
-
-struct shmid_ds
-{
- int dummy;
- int shm_nattch;
-};
-
-extern void *shmat(int shmid, const void *shmaddr, int shmflg);
-extern int shmdt(const void *addr);
-extern int shmctl(int shmid, int cmd, struct shmid_ds * buf);
-extern int shmget(key_t key, size_t size, int flags);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* _SYS_SHM_H */