diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 18:32:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-19 18:32:48 +0000 |
commit | def651f48f6e8e8e2bc8bb604d443f4c10136d5f (patch) | |
tree | 1772397307ecfee9c2563c34cf4fda0bd5b17d77 /src/pl | |
parent | fd38d726a962e697e14b8979eaddabd84ba4b789 (diff) | |
download | postgresql-def651f48f6e8e8e2bc8bb604d443f4c10136d5f.tar.gz postgresql-def651f48f6e8e8e2bc8bb604d443f4c10136d5f.zip |
Clean up local redeclarations of variables with DLLIMPORT, per report
from Magnus that MSVC complains about this.
Diffstat (limited to 'src/pl')
-rw-r--r-- | src/pl/plperl/plperl.c | 6 | ||||
-rw-r--r-- | src/pl/plpgsql/src/pl_handler.c | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index d645c5c8592..83332b92cde 100644 --- a/src/pl/plperl/plperl.c +++ b/src/pl/plperl/plperl.c @@ -1,7 +1,7 @@ /********************************************************************** * plperl.c - perl as a procedural language for PostgreSQL * - * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.120 2006/10/15 18:56:39 tgl Exp $ + * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.121 2006/10/19 18:32:47 tgl Exp $ * **********************************************************************/ @@ -23,13 +23,11 @@ #include "miscadmin.h" #include "nodes/makefuncs.h" #include "parser/parse_type.h" +#include "utils/guc.h" #include "utils/lsyscache.h" #include "utils/memutils.h" #include "utils/typcache.h" -/* define this before the perl headers get a chance to mangle DLLIMPORT */ -extern DLLIMPORT bool check_function_bodies; - /* perl stuff */ #include "plperl.h" diff --git a/src/pl/plpgsql/src/pl_handler.c b/src/pl/plpgsql/src/pl_handler.c index 5f08107f91a..3df1c60d9cd 100644 --- a/src/pl/plpgsql/src/pl_handler.c +++ b/src/pl/plpgsql/src/pl_handler.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.32 2006/10/04 00:30:13 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_handler.c,v 1.33 2006/10/19 18:32:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -21,11 +21,10 @@ #include "catalog/pg_type.h" #include "funcapi.h" #include "utils/builtins.h" +#include "utils/guc.h" #include "utils/lsyscache.h" #include "utils/syscache.h" -extern DLLIMPORT bool check_function_bodies; - PG_MODULE_MAGIC; PLpgSQL_plugin **plugin_ptr = NULL; |