diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-30 15:22:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 1999-05-30 15:22:34 +0000 |
commit | 3257b0e592028b90325a23447070d96579b3d67e (patch) | |
tree | fd33e5556705277a872e2d403b8c9a14c4d2b77e | |
parent | d4d297af3cb684ee3224a1e46d70405c441122d9 (diff) |
egcs thinks omitting the return type in a function declaration
is poor coding style. I agree.
-rw-r--r-- | src/interfaces/libpgtcl/pgtclId.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpgtcl/pgtclId.h b/src/interfaces/libpgtcl/pgtclId.h index 0d74a0b674f..23a67de4188 100644 --- a/src/interfaces/libpgtcl/pgtclId.h +++ b/src/interfaces/libpgtcl/pgtclId.h @@ -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); |