OSDN Git Service

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 0d74a0b..23a67de 100644 (file)
@@ -9,7 +9,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pgtclId.h,v 1.12 1999/05/25 22:43:47 momjian Exp $
+ * $Id: pgtclId.h,v 1.13 1999/05/30 15:22:34 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -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);