diff options
| author | Bruce Momjian | 2000-04-25 16:39:07 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2000-04-25 16:39:07 +0000 |
| commit | 123498183676812df9eab00a97f386d10206a21d (patch) | |
| tree | 5ba673a08bcf6f3ffc4a26a4bad99621d3d2530d /src/test | |
| parent | 56e09ddf0c8c0fbfe2a76578250a776fd8bd93b8 (diff) | |
Fix libpq example return values
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/examples/testlibpq.c | 2 | ||||
| -rw-r--r-- | src/test/examples/testlo.c | 4 | ||||
| -rw-r--r-- | src/test/examples/testlo2.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/test/examples/testlibpq.c b/src/test/examples/testlibpq.c index f967278b583..aa7f5a2e9e1 100644 --- a/src/test/examples/testlibpq.c +++ b/src/test/examples/testlibpq.c @@ -130,5 +130,5 @@ main() fclose(debug); #endif /* DEBUG */ - exit(0); + return 0; } diff --git a/src/test/examples/testlo.c b/src/test/examples/testlo.c index 8dd244de9ac..7700ce78833 100644 --- a/src/test/examples/testlo.c +++ b/src/test/examples/testlo.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.14 2000/01/26 05:58:49 momjian Exp $ + * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.15 2000/04/25 16:39:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -248,5 +248,5 @@ main(int argc, char **argv) res = PQexec(conn, "end"); PQclear(res); PQfinish(conn); - exit(0); + return 0; } diff --git a/src/test/examples/testlo2.c b/src/test/examples/testlo2.c index 063f5daeb71..fd1a517b2de 100644 --- a/src/test/examples/testlo2.c +++ b/src/test/examples/testlo2.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.13 2000/01/26 05:58:49 momjian Exp $ + * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.14 2000/04/25 16:39:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -241,5 +241,5 @@ main(int argc, char **argv) res = PQexec(conn, "end"); PQclear(res); PQfinish(conn); - exit(0); + return 0; } |
