From def651f48f6e8e8e2bc8bb604d443f4c10136d5f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 19 Oct 2006 18:32:48 +0000 Subject: Clean up local redeclarations of variables with DLLIMPORT, per report from Magnus that MSVC complains about this. --- contrib/adminpack/adminpack.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'contrib/adminpack/adminpack.c') diff --git a/contrib/adminpack/adminpack.c b/contrib/adminpack/adminpack.c index ebe92add385..4749bd1a926 100644 --- a/contrib/adminpack/adminpack.c +++ b/contrib/adminpack/adminpack.c @@ -8,7 +8,7 @@ * Author: Andreas Pflug * * IDENTIFICATION - * $PostgreSQL: pgsql/contrib/adminpack/adminpack.c,v 1.5 2006/10/19 17:48:04 neilc Exp $ + * $PostgreSQL: pgsql/contrib/adminpack/adminpack.c,v 1.6 2006/10/19 18:32:45 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -22,6 +22,7 @@ #include "miscadmin.h" #include "catalog/pg_type.h" #include "funcapi.h" +#include "postmaster/syslogger.h" #include "storage/fd.h" #include "utils/datetime.h" @@ -37,10 +38,6 @@ #endif #endif -extern DLLIMPORT char *DataDir; -extern DLLIMPORT char *Log_directory; -extern DLLIMPORT char *Log_filename; - PG_MODULE_MAGIC; Datum pg_file_write(PG_FUNCTION_ARGS); -- cgit v1.2.3