From: Neil Conway Date: Fri, 1 Apr 2005 08:41:19 +0000 (+0000) Subject: Remove pg_buffercache_pages.h -- patch from Mark Kirkwood. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=720f6463e6e356eb93edeb62c8655e02daf2c8d6;p=users%2Fbernd%2Fpostgres.git Remove pg_buffercache_pages.h -- patch from Mark Kirkwood. --- diff --git a/contrib/pg_buffercache/pg_buffercache_pages.c b/contrib/pg_buffercache/pg_buffercache_pages.c index f4d771d282..5b1e356ebe 100644 --- a/contrib/pg_buffercache/pg_buffercache_pages.c +++ b/contrib/pg_buffercache/pg_buffercache_pages.c @@ -12,7 +12,6 @@ #include "storage/buf_internals.h" #include "storage/bufmgr.h" #include "utils/relcache.h" -#include "pg_buffercache_pages.h" #define NUM_BUFFERCACHE_PAGES_ELEM 6 @@ -22,6 +21,8 @@ extern DLLIMPORT BufferDesc *BufferDescriptors; extern DLLIMPORT volatile uint32 InterruptHoldoffCount; #endif +Datum pg_buffercache_pages(PG_FUNCTION_ARGS); + /* * Record structure holding the to be exposed cache data. diff --git a/contrib/pg_buffercache/pg_buffercache_pages.h b/contrib/pg_buffercache/pg_buffercache_pages.h deleted file mode 100644 index 48c32527a1..0000000000 --- a/contrib/pg_buffercache/pg_buffercache_pages.h +++ /dev/null @@ -1,18 +0,0 @@ -/*------------------------------------------------------------------------- - * - * pg_buffercache_pages.h - * Prototypes for pg_buffercache_pages - * - * - * $PostgreSQL$ - * - *------------------------------------------------------------------------- - */ - - -#ifndef PG_BUFFERCACHE_PAGES_H -#define PG_BUFFERCACHE_PAGES_H - -extern Datum pg_buffercache_pages(PG_FUNCTION_ARGS); - -#endif /* PG_BUFFERCACHE_PAGES_H */