From 4802bb57a6d5331f32bc14bb196e397021fece1c Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 30 Jun 2005 07:08:59 +0000 Subject: Warning cleanups for ecpg tests. Avoid doing pointer arithmetic on void *, remove old-style function declarations, and mark a function "static". There are some remaining warnings, but this fixes most of them, anyway. --- src/interfaces/ecpg/test/perftest.pgc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/test/perftest.pgc') diff --git a/src/interfaces/ecpg/test/perftest.pgc b/src/interfaces/ecpg/test/perftest.pgc index 3bd4982eef..0c5b1478aa 100644 --- a/src/interfaces/ecpg/test/perftest.pgc +++ b/src/interfaces/ecpg/test/perftest.pgc @@ -21,7 +21,7 @@ print_result(long sec, long usec, char *text) } int -main () +main (void) { exec sql begin declare section; long i; -- cgit v1.2.1