diff options
| author | Bruce Momjian | 1997-09-08 21:56:23 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1997-09-08 21:56:23 +0000 |
| commit | 59f6a57e59fe8353f9edaa3703516ea67e06672b (patch) | |
| tree | 1b083fb66cf0be3890480a1ed5fb077dd7293790 /src/test | |
| parent | 075cede74858a9a04e97097b1ccd555121516c20 (diff) | |
Used modified version of indent that understands over 100 typedefs.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/examples/testlibpq.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq2.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq3.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlibpq4.c | 4 | ||||
| -rw-r--r-- | src/test/examples/testlo.c | 12 | ||||
| -rw-r--r-- | src/test/examples/testlo2.c | 12 | ||||
| -rw-r--r-- | src/test/regress/regress.c | 14 |
7 files changed, 24 insertions, 24 deletions
diff --git a/src/test/examples/testlibpq.c b/src/test/examples/testlibpq.c index 9cc3f463268..d3a0d67ea3e 100644 --- a/src/test/examples/testlibpq.c +++ b/src/test/examples/testlibpq.c @@ -8,7 +8,7 @@ #include "libpq-fe.h" void -exit_nicely(PGconn * conn) +exit_nicely(PGconn *conn) { PQfinish(conn); exit(1); diff --git a/src/test/examples/testlibpq2.c b/src/test/examples/testlibpq2.c index 7ee09a7e024..c147170e7fb 100644 --- a/src/test/examples/testlibpq2.c +++ b/src/test/examples/testlibpq2.c @@ -22,7 +22,7 @@ INSERT INTO TBL1 values (10); #include "libpq-fe.h" void -exit_nicely(PGconn * conn) +exit_nicely(PGconn *conn) { PQfinish(conn); exit(1); diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c index 4b75763b5f0..e11ad1a2f9d 100644 --- a/src/test/examples/testlibpq3.c +++ b/src/test/examples/testlibpq3.c @@ -31,7 +31,7 @@ tuple 1: got #include "utils/geo-decls.h" /* for the POLYGON type */ void -exit_nicely(PGconn * conn) +exit_nicely(PGconn *conn) { PQfinish(conn); exit(1); diff --git a/src/test/examples/testlibpq4.c b/src/test/examples/testlibpq4.c index 5b0c4196487..831f765d4e8 100644 --- a/src/test/examples/testlibpq4.c +++ b/src/test/examples/testlibpq4.c @@ -9,7 +9,7 @@ #include "libpq-fe.h" void -exit_nicely(PGconn * conn1, PGconn * conn2) +exit_nicely(PGconn *conn1, PGconn *conn2) { if (conn1) PQfinish(conn1); @@ -19,7 +19,7 @@ exit_nicely(PGconn * conn1, PGconn * conn2) } void -check_conn(PGconn * conn) +check_conn(PGconn *conn) { /* check to see that the backend connection was successfully made */ if (PQstatus(conn) == CONNECTION_BAD) diff --git a/src/test/examples/testlo.c b/src/test/examples/testlo.c index 676dfe20a21..d7268284eb0 100644 --- a/src/test/examples/testlo.c +++ b/src/test/examples/testlo.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.5 1997/09/08 02:40:51 momjian Exp $ + * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.6 1997/09/08 21:55:56 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -29,7 +29,7 @@ * */ Oid -importFile(PGconn * conn, char *filename) +importFile(PGconn *conn, char *filename) { Oid lobjId; int lobj_fd; @@ -77,7 +77,7 @@ importFile(PGconn * conn, char *filename) } void -pickout(PGconn * conn, Oid lobjId, int start, int len) +pickout(PGconn *conn, Oid lobjId, int start, int len) { int lobj_fd; char *buf; @@ -107,7 +107,7 @@ pickout(PGconn * conn, Oid lobjId, int start, int len) } void -overwrite(PGconn * conn, Oid lobjId, int start, int len) +overwrite(PGconn *conn, Oid lobjId, int start, int len) { int lobj_fd; char *buf; @@ -146,7 +146,7 @@ overwrite(PGconn * conn, Oid lobjId, int start, int len) * */ void -exportFile(PGconn * conn, Oid lobjId, char *filename) +exportFile(PGconn *conn, Oid lobjId, char *filename) { int lobj_fd; char buf[BUFSIZE]; @@ -194,7 +194,7 @@ exportFile(PGconn * conn, Oid lobjId, char *filename) } void -exit_nicely(PGconn * conn) +exit_nicely(PGconn *conn) { PQfinish(conn); exit(1); diff --git a/src/test/examples/testlo2.c b/src/test/examples/testlo2.c index adaad5df00a..cb3baeb5d90 100644 --- a/src/test/examples/testlo2.c +++ b/src/test/examples/testlo2.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.4 1997/09/08 02:40:52 momjian Exp $ + * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.5 1997/09/08 21:55:57 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -23,7 +23,7 @@ * */ Oid -importFile(PGconn * conn, char *filename) +importFile(PGconn *conn, char *filename) { Oid lobjId; int lobj_fd; @@ -71,7 +71,7 @@ importFile(PGconn * conn, char *filename) } void -pickout(PGconn * conn, Oid lobjId, int start, int len) +pickout(PGconn *conn, Oid lobjId, int start, int len) { int lobj_fd; char *buf; @@ -101,7 +101,7 @@ pickout(PGconn * conn, Oid lobjId, int start, int len) } void -overwrite(PGconn * conn, Oid lobjId, int start, int len) +overwrite(PGconn *conn, Oid lobjId, int start, int len) { int lobj_fd; char *buf; @@ -140,7 +140,7 @@ overwrite(PGconn * conn, Oid lobjId, int start, int len) * */ void -exportFile(PGconn * conn, Oid lobjId, char *filename) +exportFile(PGconn *conn, Oid lobjId, char *filename) { int lobj_fd; char buf[BUFSIZE]; @@ -188,7 +188,7 @@ exportFile(PGconn * conn, Oid lobjId, char *filename) } void -exit_nicely(PGconn * conn) +exit_nicely(PGconn *conn) { PQfinish(conn); exit(1); diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c index 2258bbbd4a5..020bf6685ea 100644 --- a/src/test/regress/regress.c +++ b/src/test/regress/regress.c @@ -1,5 +1,5 @@ /* - * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.12 1997/09/08 20:59:27 momjian Exp $ + * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.13 1997/09/08 21:56:01 momjian Exp $ */ #include <float.h> /* faked on sunos */ @@ -18,11 +18,11 @@ typedef void *TUPLE; -extern double *regress_dist_ptpath(Point * pt, PATH * path); -extern double *regress_path_dist(PATH * p1, PATH * p2); -extern PATH *poly2path(POLYGON * poly); -extern Point *interpt_pp(PATH * p1, PATH * p2); -extern void regress_lseg_construct(LSEG * lseg, Point * pt1, Point * pt2); +extern double *regress_dist_ptpath(Point *pt, PATH *path); +extern double *regress_path_dist(PATH *p1, PATH *p2); +extern PATH *poly2path(POLYGON *poly); +extern Point *interpt_pp(PATH *p1, PATH *p2); +extern void regress_lseg_construct(LSEG *lseg, Point *pt1, Point *pt2); extern char overpaid(TUPLE tuple); extern int boxarea(BOX *box); extern char *reverse_c16(char *string); @@ -203,7 +203,7 @@ typedef struct WIDGET *widget_in(char *str); char *widget_out(WIDGET * widget); -int pt_in_widget(Point * point, WIDGET * widget); +int pt_in_widget(Point *point, WIDGET * widget); #define NARGS 3 |
