aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/print.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-19 21:40:56 +0000
commit1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch)
tree8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/backend/nodes/print.c
parentb992e200b8872ecb6652ec85111995f8d4c5aee0 (diff)
downloadpostgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz
postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.zip
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/backend/nodes/print.c')
-rw-r--r--src/backend/nodes/print.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backend/nodes/print.c b/src/backend/nodes/print.c
index 30553fbb5bf..0f92c189e51 100644
--- a/src/backend/nodes/print.c
+++ b/src/backend/nodes/print.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.5 1997/08/12 20:15:27 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.6 1997/08/19 21:31:43 momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -32,6 +32,9 @@
#include "nodes/nodes.h"
#include "nodes/plannodes.h"
#include "optimizer/clauses.h"
+
+static char *plannode_type (Plan* p);
+
/*
* print--
* print contents of Node to stdout
@@ -258,7 +261,7 @@ print_slot(TupleTableSlot *slot)
debugtup(slot->val, slot->ttc_tupleDescriptor);
}
-char*
+static char *
plannode_type (Plan* p)
{
switch(nodeTag(p)) {