summaryrefslogtreecommitdiff
path: root/src/backend/port/ipc_test.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-09-04 20:31:48 +0000
committerBruce Momjian <bruce@momjian.us>2002-09-04 20:31:48 +0000
commite50f52a074bdf0d6a9dc384840e641c4c0b0bb1a (patch)
treeab73e8c8ec94a6ddc774c1f9c49b87aa6b93fd13 /src/backend/port/ipc_test.c
parentc91ceec21d357d6d857163d897ac75a79c883dee (diff)
downloadpostgresql-e50f52a074bdf0d6a9dc384840e641c4c0b0bb1a.tar.gz
pgindent run.
Diffstat (limited to 'src/backend/port/ipc_test.c')
-rw-r--r--src/backend/port/ipc_test.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/port/ipc_test.c b/src/backend/port/ipc_test.c
index 2421a7e5a0..ee1ed186cb 100644
--- a/src/backend/port/ipc_test.c
+++ b/src/backend/port/ipc_test.c
@@ -21,7 +21,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/port/ipc_test.c,v 1.4 2002/08/10 20:29:18 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/port/ipc_test.c,v 1.5 2002/09/04 20:31:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -52,7 +52,7 @@ int MaxBackends = DEF_MAXBACKENDS;
int NBuffers = DEF_NBUFFERS;
#ifndef assert_enabled
-bool assert_enabled = true;
+bool assert_enabled = true;
#endif
@@ -87,7 +87,7 @@ shmem_exit(int code)
}
void
-on_shmem_exit(void (*function) (), Datum arg)
+ on_shmem_exit(void (*function) (), Datum arg)
{
if (on_shmem_exit_index >= MAX_ON_EXITS)
elog(FATAL, "Out of on_shmem_exit slots");
@@ -144,17 +144,17 @@ elog(int lev, const char *fmt,...)
typedef struct MyStorage
{
- PGShmemHeader header;
- int flag;
- PGSemaphoreData sem;
-} MyStorage;
+ PGShmemHeader header;
+ int flag;
+ PGSemaphoreData sem;
+} MyStorage;
int
main(int argc, char **argv)
{
- MyStorage *storage;
- int cpid;
+ MyStorage *storage;
+ int cpid;
printf("Creating shared memory ... ");
fflush(stdout);