diff options
author | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:25:18 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2007-11-15 22:25:18 +0000 |
commit | f6e8730d11ddfc720eda1dde23794d262ad8cc08 (patch) | |
tree | 1fa229dc473a3e7c075099e491d822a4d50e6d0e /contrib | |
parent | da0b2cdff893512e01cd175eb2e0e831d2fa559e (diff) | |
download | postgresql-f6e8730d11ddfc720eda1dde23794d262ad8cc08.tar.gz |
Re-run pgindent with updated list of typedefs. (Updated README should
avoid this problem in the future.)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/dict_xsyn/dict_xsyn.c | 8 | ||||
-rw-r--r-- | contrib/intarray/_int_bool.c | 10 | ||||
-rw-r--r-- | contrib/intarray/_int_gist.c | 2 | ||||
-rw-r--r-- | contrib/ltree/ltxtquery_io.c | 8 | ||||
-rw-r--r-- | contrib/ltree/ltxtquery_op.c | 4 | ||||
-rw-r--r-- | contrib/test_parser/test_parser.c | 4 | ||||
-rw-r--r-- | contrib/uuid-ossp/uuid-ossp.c | 4 |
7 files changed, 20 insertions, 20 deletions
diff --git a/contrib/dict_xsyn/dict_xsyn.c b/contrib/dict_xsyn/dict_xsyn.c index 753886117d..6dd0f6a5b3 100644 --- a/contrib/dict_xsyn/dict_xsyn.c +++ b/contrib/dict_xsyn/dict_xsyn.c @@ -6,7 +6,7 @@ * Copyright (c) 2007, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/contrib/dict_xsyn/dict_xsyn.c,v 1.2 2007/11/15 21:14:29 momjian Exp $ + * $PostgreSQL: pgsql/contrib/dict_xsyn/dict_xsyn.c,v 1.3 2007/11/15 22:25:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -27,7 +27,7 @@ typedef struct char *key; /* Word */ char *value; /* Unparsed list of synonyms, including the * word itself */ -} Syn; +} Syn; typedef struct { @@ -35,7 +35,7 @@ typedef struct Syn *syn; bool keeporig; -} DictSyn; +} DictSyn; PG_FUNCTION_INFO_V1(dxsyn_init); @@ -72,7 +72,7 @@ compare_syn(const void *a, const void *b) } static void -read_dictionary(DictSyn * d, char *filename) +read_dictionary(DictSyn *d, char *filename) { char *real_filename = get_tsearch_config_filename(filename, "rules"); FILE *fin; diff --git a/contrib/intarray/_int_bool.c b/contrib/intarray/_int_bool.c index 2a9d80bfdb..2344d0b50b 100644 --- a/contrib/intarray/_int_bool.c +++ b/contrib/intarray/_int_bool.c @@ -36,7 +36,7 @@ typedef struct NODE int4 type; int4 val; struct NODE *next; -} NODE; +} NODE; typedef struct { @@ -226,7 +226,7 @@ typedef struct { int4 *arrb; int4 *arre; -} CHKVAL; +} CHKVAL; /* * is there value 'val' in array or not ? @@ -323,7 +323,7 @@ typedef struct { ITEM *first; bool *mapped_check; -} GinChkVal; +} GinChkVal; static bool checkcondition_gin(void *checkval, ITEM * item) @@ -506,7 +506,7 @@ typedef struct char *buf; char *cur; int4 buflen; -} INFIX; +} INFIX; #define RESIZEBUF(inf,addsize) while( ( (inf)->cur - (inf)->buf ) + (addsize) + 1 >= (inf)->buflen ) { \ int4 len = inf->cur - inf->buf; \ @@ -516,7 +516,7 @@ typedef struct } static void -infix(INFIX * in, bool first) +infix(INFIX *in, bool first) { if (in->curpol->type == VAL) { diff --git a/contrib/intarray/_int_gist.c b/contrib/intarray/_int_gist.c index 51cc77b863..abd576223e 100644 --- a/contrib/intarray/_int_gist.c +++ b/contrib/intarray/_int_gist.c @@ -343,7 +343,7 @@ typedef struct { OffsetNumber pos; float cost; -} SPLITCOST; +} SPLITCOST; static int comparecost(const void *a, const void *b) diff --git a/contrib/ltree/ltxtquery_io.c b/contrib/ltree/ltxtquery_io.c index 904d4490dc..6c9a63d5db 100644 --- a/contrib/ltree/ltxtquery_io.c +++ b/contrib/ltree/ltxtquery_io.c @@ -1,7 +1,7 @@ /* * txtquery io * Teodor Sigaev <teodor@stack.net> - * $PostgreSQL: pgsql/contrib/ltree/ltxtquery_io.c,v 1.13 2007/02/28 22:44:38 tgl Exp $ + * $PostgreSQL: pgsql/contrib/ltree/ltxtquery_io.c,v 1.14 2007/11/15 22:25:14 momjian Exp $ */ #include "ltree.h" @@ -32,7 +32,7 @@ typedef struct NODE int2 length; uint16 flag; struct NODE *next; -} NODE; +} NODE; typedef struct { @@ -384,7 +384,7 @@ typedef struct char *cur; char *op; int4 buflen; -} INFIX; +} INFIX; #define RESIZEBUF(inf,addsize) \ while( ( (inf)->cur - (inf)->buf ) + (addsize) + 1 >= (inf)->buflen ) \ @@ -400,7 +400,7 @@ while( ( (inf)->cur - (inf)->buf ) + (addsize) + 1 >= (inf)->buflen ) \ * infix (human-readable) view */ static void -infix(INFIX * in, bool first) +infix(INFIX *in, bool first) { if (in->curpol->type == VAL) { diff --git a/contrib/ltree/ltxtquery_op.c b/contrib/ltree/ltxtquery_op.c index 07ebc201c7..2797f86375 100644 --- a/contrib/ltree/ltxtquery_op.c +++ b/contrib/ltree/ltxtquery_op.c @@ -1,7 +1,7 @@ /* * txtquery operations with ltree * Teodor Sigaev <teodor@stack.net> - * $PostgreSQL: pgsql/contrib/ltree/ltxtquery_op.c,v 1.6 2006/03/11 04:38:29 momjian Exp $ + * $PostgreSQL: pgsql/contrib/ltree/ltxtquery_op.c,v 1.7 2007/11/15 22:25:14 momjian Exp $ */ #include "ltree.h" @@ -45,7 +45,7 @@ typedef struct { ltree *node; char *operand; -} CHKVAL; +} CHKVAL; static bool checkcondition_str(void *checkval, ITEM * val) diff --git a/contrib/test_parser/test_parser.c b/contrib/test_parser/test_parser.c index 784d2d43ad..a6b24be1e4 100644 --- a/contrib/test_parser/test_parser.c +++ b/contrib/test_parser/test_parser.c @@ -6,7 +6,7 @@ * Copyright (c) 2007, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/contrib/test_parser/test_parser.c,v 1.2 2007/11/15 21:14:31 momjian Exp $ + * $PostgreSQL: pgsql/contrib/test_parser/test_parser.c,v 1.3 2007/11/15 22:25:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,7 +35,7 @@ typedef struct int lexid; char *alias; char *descr; -} LexDescr; +} LexDescr; /* * prototypes diff --git a/contrib/uuid-ossp/uuid-ossp.c b/contrib/uuid-ossp/uuid-ossp.c index e1aa8af094..7002c758c8 100644 --- a/contrib/uuid-ossp/uuid-ossp.c +++ b/contrib/uuid-ossp/uuid-ossp.c @@ -4,7 +4,7 @@ * * Copyright (c) 2007 PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/contrib/uuid-ossp/uuid-ossp.c,v 1.4 2007/11/15 21:14:31 momjian Exp $ + * $PostgreSQL: pgsql/contrib/uuid-ossp/uuid-ossp.c,v 1.5 2007/11/15 22:25:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -165,7 +165,7 @@ uuid_generate_v1mc(PG_FUNCTION_ARGS) static Datum -uuid_generate_v35_internal(int mode, pg_uuid_t * ns, text *name) +uuid_generate_v35_internal(int mode, pg_uuid_t *ns, text *name) { uuid_t *ns_uuid; Datum result; |