diff options
| author | Neil Conway <neilc@samurai.com> | 2005-06-30 07:08:59 +0000 |
|---|---|---|
| committer | Neil Conway <neilc@samurai.com> | 2005-06-30 07:08:59 +0000 |
| commit | 4802bb57a6d5331f32bc14bb196e397021fece1c (patch) | |
| tree | 766ef5218fac60e4aa75adad390809950d441af8 /src/interfaces/ecpg/test/test1.pgc | |
| parent | 175c25a40472d06656fbddc46f0e8a1e0b0cb867 (diff) | |
| download | postgresql-4802bb57a6d5331f32bc14bb196e397021fece1c.tar.gz | |
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.
Diffstat (limited to 'src/interfaces/ecpg/test/test1.pgc')
| -rw-r--r-- | src/interfaces/ecpg/test/test1.pgc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
