mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
exec sql include sqlca;
|
||||
#include <stdlib.h>
|
||||
|
||||
int main()
|
||||
int main(void)
|
||||
{
|
||||
exec sql begin declare section;
|
||||
char **cpp=0;
|
||||
|
Reference in New Issue
Block a user