diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-11-11 12:14:45 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-11-11 12:14:45 +0000 |
commit | 2bdded3540a9723c240152a37627846433e61234 (patch) | |
tree | e12a14df0e0deaa7f2d86d51bf424c8e819a0625 /src/interfaces/libpgtcl/pgtcl.c | |
parent | 6913c8b4a49873139750a708178920bb74aeb9d5 (diff) |
Various cleanups from D'Arcy
Diffstat (limited to 'src/interfaces/libpgtcl/pgtcl.c')
-rw-r--r-- | src/interfaces/libpgtcl/pgtcl.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/interfaces/libpgtcl/pgtcl.c b/src/interfaces/libpgtcl/pgtcl.c index ad9b68b41d0..2cbec47395d 100644 --- a/src/interfaces/libpgtcl/pgtcl.c +++ b/src/interfaces/libpgtcl/pgtcl.c @@ -9,14 +9,18 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtcl.c,v 1.4 1996/11/09 10:39:40 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtcl.c,v 1.5 1996/11/11 12:14:38 scrappy Exp $ * *------------------------------------------------------------------------- */ +#include <stdlib.h> + +#include "postgres.h" #include "tcl.h" #include "libpgtcl.h" #include "pgtclCmds.h" +#include "pgtclId.h" /* * Pgtcl_Init @@ -27,7 +31,7 @@ /* * Tidy up forgotten postgres connection at Tcl_Exit */ -void +static void Pgtcl_AtExit (ClientData cData) { Pg_clientData *cd = (Pg_clientData *)cData; @@ -52,7 +56,7 @@ Pgtcl_AtExit (ClientData cData) /* * Tidy up forgotten postgres connections on Interpreter deletion */ -void +static void Pgtcl_Shutdown (ClientData cData, Tcl_Interp *interp) { Pgtcl_AtExit(cData); |