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/test1.pgc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/test/test1.pgc') diff --git a/src/interfaces/ecpg/test/test1.pgc b/src/interfaces/ecpg/test/test1.pgc index 753c0abae5..9f784ac799 100644 --- a/src/interfaces/ecpg/test/test1.pgc +++ b/src/interfaces/ecpg/test/test1.pgc @@ -27,7 +27,7 @@ exec sql type intarray is int[AMOUNT]; typedef int intarray[AMOUNT]; int -main () +main(void) { exec sql begin declare section; exec sql ifdef NAMELEN; -- cgit v1.2.1