summaryrefslogtreecommitdiff
path: root/src/backend/port/sysv_shmem.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-10-13 01:25:13 +0000
committerNeil Conway <neilc@samurai.com>2004-10-13 01:25:13 +0000
commit7069dbcc317c287f98e55d5296ff7ca77fadab49 (patch)
treef6fb8476c006cef473c986f8200695bd78f9033b /src/backend/port/sysv_shmem.c
parent1da2bccabbabbebc76af07c0c2276217420cef7d (diff)
More minor cosmetic improvements:
- remove another senseless "extern" keyword that was applied to a function definition - change a foo more function signatures from "some_type foo()" to "some_type foo(void)" - rewrite another K&R style function definition - make the type of the "action" function pointer in the KeyWord struct in src/backend/utils/adt/formatting.c more precise
Diffstat (limited to 'src/backend/port/sysv_shmem.c')
-rw-r--r--src/backend/port/sysv_shmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/port/sysv_shmem.c b/src/backend/port/sysv_shmem.c
index ca1f34a28c8..bff83b5621f 100644
--- a/src/backend/port/sysv_shmem.c
+++ b/src/backend/port/sysv_shmem.c
@@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.38 2004/09/24 05:27:35 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/port/sysv_shmem.c,v 1.39 2004/10/13 01:25:11 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -143,7 +143,7 @@ InternalIpcMemoryCreate(IpcMemoryKey memKey, uint32 size)
#ifdef EXEC_BACKEND
memAddress = shmat(shmid, UsedShmemSegAddr, 0);
#else
- memAddress = shmat(shmid, 0, 0);
+ memAddress = shmat(shmid, NULL, 0);
#endif
#endif