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/num_test.pgc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/ecpg/test/num_test.pgc') diff --git a/src/interfaces/ecpg/test/num_test.pgc b/src/interfaces/ecpg/test/num_test.pgc index 03de51e0cc7..f3991ccc8a2 100644 --- a/src/interfaces/ecpg/test/num_test.pgc +++ b/src/interfaces/ecpg/test/num_test.pgc @@ -3,7 +3,7 @@ #include int -main() +main(void) { char *text="error\n"; numeric *value1, *value2, *res; -- cgit v1.2.3