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 /contrib/pg_freespacemap/pg_freespacemap.c | |
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 'contrib/pg_freespacemap/pg_freespacemap.c')
-rw-r--r-- | contrib/pg_freespacemap/pg_freespacemap.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/contrib/pg_freespacemap/pg_freespacemap.c b/contrib/pg_freespacemap/pg_freespacemap.c index 5486a98d486..cfe5cb0268c 100644 --- a/contrib/pg_freespacemap/pg_freespacemap.c +++ b/contrib/pg_freespacemap/pg_freespacemap.c @@ -3,7 +3,7 @@ * pg_freespacemap.c * display some contents of the free space relation and page maps. * - * $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.8 2006/10/04 00:29:45 momjian Exp $ + * $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.9 2006/10/19 18:32:46 tgl Exp $ *------------------------------------------------------------------------- */ #include "postgres.h" @@ -17,13 +17,6 @@ #define NUM_FREESPACE_PAGES_ELEM 5 #define NUM_FREESPACE_RELATIONS_ELEM 7 -#if defined(WIN32) || defined(__CYGWIN__) -/* Need DLLIMPORT for some things that are not so marked in main headers */ -extern DLLIMPORT int MaxFSMPages; -extern DLLIMPORT int MaxFSMRelations; -extern DLLIMPORT volatile uint32 InterruptHoldoffCount; -#endif - PG_MODULE_MAGIC; Datum pg_freespacemap_pages(PG_FUNCTION_ARGS); |