diff options
author | Tom Lane | 2006-10-19 18:32:48 +0000 |
---|---|---|
committer | Tom Lane | 2006-10-19 18:32:48 +0000 |
commit | def651f48f6e8e8e2bc8bb604d443f4c10136d5f (patch) | |
tree | 1772397307ecfee9c2563c34cf4fda0bd5b17d77 /contrib/pg_buffercache/pg_buffercache_pages.c | |
parent | fd38d726a962e697e14b8979eaddabd84ba4b789 (diff) |
Clean up local redeclarations of variables with DLLIMPORT, per report
from Magnus that MSVC complains about this.
Diffstat (limited to 'contrib/pg_buffercache/pg_buffercache_pages.c')
-rw-r--r-- | contrib/pg_buffercache/pg_buffercache_pages.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c index 3c8af235d10..a75e8a229b3 100644 --- a/contrib/pg_buffercache/pg_buffercache_pages.c +++ b/contrib/pg_buffercache/pg_buffercache_pages.c @@ -3,7 +3,7 @@ * pg_buffercache_pages.c * display some contents of the buffer cache * - * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.9 2006/10/04 00:29:45 momjian Exp $ + * $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.10 2006/10/19 18:32:46 tgl Exp $ *------------------------------------------------------------------------- */ #include "postgres.h" @@ -16,11 +16,6 @@ #define NUM_BUFFERCACHE_PAGES_ELEM 6 -#if defined(WIN32) || defined(__CYGWIN__) -extern DLLIMPORT BufferDesc *BufferDescriptors; -extern DLLIMPORT volatile uint32 InterruptHoldoffCount; -#endif - PG_MODULE_MAGIC; Datum pg_buffercache_pages(PG_FUNCTION_ARGS); |