diff options
author | Bruce Momjian <bruce@momjian.us> | 2009-06-11 14:49:15 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2009-06-11 14:49:15 +0000 |
commit | d7471402794266078953f1bd113dab4913d631a1 (patch) | |
tree | 618e392a84eaf837e00bf78f8694097b78fec227 /src/interfaces/libpq/libpq-events.c | |
parent | 4e86efb4e51b66ef57b3fe6f28576de23a1bf1c6 (diff) | |
download | postgresql-d7471402794266078953f1bd113dab4913d631a1.tar.gz postgresql-d7471402794266078953f1bd113dab4913d631a1.zip |
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.
Diffstat (limited to 'src/interfaces/libpq/libpq-events.c')
-rw-r--r-- | src/interfaces/libpq/libpq-events.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/interfaces/libpq/libpq-events.c b/src/interfaces/libpq/libpq-events.c index a1ad42f1de4..aef0343d0f5 100644 --- a/src/interfaces/libpq/libpq-events.c +++ b/src/interfaces/libpq/libpq-events.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-events.c,v 1.4 2009/01/01 17:24:03 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/libpq-events.c,v 1.5 2009/06/11 14:49:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -40,7 +40,7 @@ int PQregisterEventProc(PGconn *conn, PGEventProc proc, const char *name, void *passThrough) { - int i; + int i; PGEventRegister regevt; if (!proc || !conn || !name || !*name) @@ -54,8 +54,8 @@ PQregisterEventProc(PGconn *conn, PGEventProc proc, if (conn->nEvents >= conn->eventArraySize) { - PGEvent *e; - int newSize; + PGEvent *e; + int newSize; newSize = conn->eventArraySize ? conn->eventArraySize * 2 : 8; if (conn->events) @@ -97,7 +97,7 @@ PQregisterEventProc(PGconn *conn, PGEventProc proc, int PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data) { - int i; + int i; if (!conn || !proc) return FALSE; @@ -120,7 +120,7 @@ PQsetInstanceData(PGconn *conn, PGEventProc proc, void *data) void * PQinstanceData(const PGconn *conn, PGEventProc proc) { - int i; + int i; if (!conn || !proc) return NULL; @@ -141,7 +141,7 @@ PQinstanceData(const PGconn *conn, PGEventProc proc) int PQresultSetInstanceData(PGresult *result, PGEventProc proc, void *data) { - int i; + int i; if (!result || !proc) return FALSE; @@ -164,7 +164,7 @@ PQresultSetInstanceData(PGresult *result, PGEventProc proc, void *data) void * PQresultInstanceData(const PGresult *result, PGEventProc proc) { - int i; + int i; if (!result || !proc) return NULL; @@ -184,7 +184,7 @@ PQresultInstanceData(const PGresult *result, PGEventProc proc) int PQfireResultCreateEvents(PGconn *conn, PGresult *res) { - int i; + int i; if (!res) return FALSE; |