diff options
| author | Marc G. Fournier <scrappy@hub.org> | 1998-02-27 12:59:33 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@hub.org> | 1998-02-27 12:59:33 +0000 |
| commit | 96ac738269d04c1402f1f459bfdfe0a11d979471 (patch) | |
| tree | 6d90d649f24075c1bd2a4cd08c6bffba02ecf71d /src/interfaces/ecpg/lib/ecpglib.c | |
| parent | 1a6de0760d5e2593e1b12a665923ca83134c109e (diff) | |
| download | postgresql-96ac738269d04c1402f1f459bfdfe0a11d979471.tar.gz | |
From: Michael Meskes <meskes@topsystem.de>
No more shift/reduce conflicts. Also all other bugs I know about are fixed.
Diffstat (limited to 'src/interfaces/ecpg/lib/ecpglib.c')
| -rw-r--r-- | src/interfaces/ecpg/lib/ecpglib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/lib/ecpglib.c b/src/interfaces/ecpg/lib/ecpglib.c index f5778f9ac3..301b43d6c7 100644 --- a/src/interfaces/ecpg/lib/ecpglib.c +++ b/src/interfaces/ecpg/lib/ecpglib.c @@ -18,11 +18,11 @@ #include <stdarg.h> #include <string.h> +#include <libpq-fe.h> +#include <libpq/pqcomm.h> #include <ecpgtype.h> #include <ecpglib.h> #include <sqlca.h> -#include <libpq-fe.h> -#include <libpq/pqcomm.h> static PGconn *simple_connection = NULL; static int simple_debug = 0; @@ -639,14 +639,14 @@ ECPGconnect(const char *dbname) bool -ECPGstatus() +ECPGstatus(void) { return PQstatus(simple_connection) != CONNECTION_BAD; } bool -ECPGfinish() +ECPGfinish(void) { if (simple_connection != NULL) { |
