1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Clean up some warnings and bugs and make things build easier.

This commit is contained in:
Peter Eisentraut
2001-08-11 10:52:09 +00:00
parent dfb8e3f115
commit f419de8a7f
9 changed files with 56 additions and 48 deletions

View File

@@ -1,7 +1,9 @@
exec sql include sqlca;
void
Finish(msg)
#include "stdlib.h"
static void
Finish(char *msg)
{
fprintf(stderr, "Error in statement '%s':\n", msg);
sqlprint();
@@ -18,7 +20,7 @@ Finish(msg)
exit(-1);
}
void
static void
warn(void)
{
fprintf(stderr, "Warning: At least one column was truncated\n");