From 46a28f1b14ee9d42cdec82d24c962a1274bbd076 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 13 Jan 2000 18:26:18 +0000 Subject: Fixed everything in and surrounding createdb and dropdb to make it more error-proof. Rearranged some old code and removed dead sections. --- src/include/commands/dbcommands.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/include/commands/dbcommands.h') diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 165b20505f4..90245d338a6 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -6,23 +6,14 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dbcommands.h,v 1.11 1999/12/10 03:56:06 momjian Exp $ + * $Id: dbcommands.h,v 1.12 2000/01/13 18:26:16 petere Exp $ * *------------------------------------------------------------------------- */ #ifndef DBCOMMANDS_H #define DBCOMMANDS_H -#include -#include "tcop/dest.h" - -/* - * Originally from tmp/daemon.h. The functions declared in daemon.h does not - * exist; hence removed. -- AY 7/29/94 - */ -#define SIGKILLDAEMON1 SIGTERM - -extern void createdb(char *dbname, char *dbpath, int encoding, CommandDest); -extern void dropdb(char *dbname, CommandDest); +extern void createdb(const char *dbname, const char *dbpath, int encoding); +extern void dropdb(const char *dbname); #endif /* DBCOMMANDS_H */ -- cgit v1.2.3