1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Don't use 'private' as a parameter name in visible headers ... makes C++

very unhappy ...
This commit is contained in:
Tom Lane
2000-12-03 17:18:10 +00:00
parent e7c80220d3
commit 68ed296301
3 changed files with 11 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.55 2000/11/30 03:11:24 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.56 2000/12/03 17:18:10 tgl Exp $
*
* NOTES
*
@@ -663,7 +663,7 @@ IpcInitKeyAssignment(int port)
* but we do not fail upon collision with non-Postgres shmem segments.
*/
PGShmemHeader *
IpcMemoryCreate(uint32 size, bool private, int permission)
IpcMemoryCreate(uint32 size, bool makePrivate, int permission)
{
void *memAddress;
PGShmemHeader *hdr;
@@ -677,7 +677,7 @@ IpcMemoryCreate(uint32 size, bool private, int permission)
IpcMemoryId shmid;
/* Special case if creating a private segment --- just malloc() it */
if (private)
if (makePrivate)
{
memAddress = PrivateMemoryCreate(size);
break;