diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-25 02:15:02 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-10-25 02:15:02 +0000 |
| commit | f1283ed6cc4db5df781452b5f048dc930cc6a172 (patch) | |
| tree | 368520795e0ae52c167be253ab0e74fb0fc2d6ab /contrib/pgbench | |
| parent | 8ec05b28b712fa4b2de5cc088ee978e05cd7e69a (diff) | |
| download | postgresql-f1283ed6cc4db5df781452b5f048dc930cc6a172.tar.gz | |
Fix a bunch of 'old-style parameter declaration' warnings induced by
writing 'foo()' rather than 'foo(void)'.
Diffstat (limited to 'contrib/pgbench')
| -rw-r--r-- | contrib/pgbench/pgbench.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index 4dbf0d3fcf..06952a0d7a 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.33 2004/09/14 03:39:23 tgl Exp $ + * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.34 2004/10/25 02:15:01 tgl Exp $ * * pgbench: a simple TPC-B like benchmark program for PostgreSQL * written by Tatsuo Ishii @@ -107,7 +107,7 @@ typedef struct } CState; static void -usage() +usage(void) { fprintf(stderr, "usage: pgbench [-h hostname][-p port][-c nclients][-t ntransactions][-s scaling_factor][-n][-C][-v][-S][-N][-l][-U login][-P password][-d][dbname]\n"); fprintf(stderr, "(initialize mode): pgbench -i [-h hostname][-p port][-s scaling_factor][-U login][-P password][-d][dbname]\n"); @@ -122,7 +122,7 @@ getrand(int min, int max) /* set up a connection to the backend */ static PGconn * -doConnect() +doConnect(void) { PGconn *con; PGresult *res; |
