egcs thinks omitting the return type in a function declaration
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 May 1999 15:22:34 +0000 (15:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 30 May 1999 15:22:34 +0000 (15:22 +0000)
is poor coding style.  I agree.

src/interfaces/libpgtcl/pgtclId.h

index 1962e011460873bdc75f379087902a664773b27f..872b6d23e126023387b9a45d095f858c9b96989d 100644 (file)
@@ -35,9 +35,9 @@ extern void PgSetConnectionId(Tcl_Interp *interp, PGconn *conn);
 
 extern PGconn *PgGetConnectionId(Tcl_Interp *interp, char *id,
                                  Pg_ConnectionId **);
-extern         PgDelConnectionId(DRIVER_DEL_PROTO);
+extern int     PgDelConnectionId(DRIVER_DEL_PROTO);
 extern int     PgOutputProc(DRIVER_OUTPUT_PROTO);
-extern         PgInputProc(DRIVER_INPUT_PROTO);
+extern int     PgInputProc(DRIVER_INPUT_PROTO);
 extern int     PgSetResultId(Tcl_Interp *interp, char *connid, PGresult *res);
 extern PGresult *PgGetResultId(Tcl_Interp *interp, char *id);
 extern void PgDelResultId(Tcl_Interp *interp, char *id);