aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-08-08 16:13:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-08-08 16:13:05 +0000
commitfaafbae720bf5b3b538dfb3f5fa1ec1cdc828587 (patch)
tree33e8e1c3375d3d3563d22b05d82bd466b4ed2f93 /src
parentd5fc378f323c7f49cd5b41874bc83899db8c9299 (diff)
downloadpostgresql-faafbae720bf5b3b538dfb3f5fa1ec1cdc828587.tar.gz
postgresql-faafbae720bf5b3b538dfb3f5fa1ec1cdc828587.zip
If these are ifdef WIN32 in the .c file, should be so in .h as well.
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/palloc.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h
index 8dfa98bf978..30b270a58cc 100644
--- a/src/include/utils/palloc.h
+++ b/src/include/utils/palloc.h
@@ -21,7 +21,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.28 2004/08/08 06:44:35 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/palloc.h,v 1.29 2004/08/08 16:13:05 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -80,9 +80,10 @@ extern char *MemoryContextStrdup(MemoryContext context, const char *string);
#define pstrdup(str) MemoryContextStrdup(CurrentMemoryContext, (str))
-/* Used for Win32 */
-void *pgport_palloc(Size sz);
-char *pgport_pstrdup(const char *str);
-void pgport_pfree(void *pointer);
+#ifdef WIN32
+extern void *pgport_palloc(Size sz);
+extern char *pgport_pstrdup(const char *str);
+extern void pgport_pfree(void *pointer);
+#endif
#endif /* PALLOC_H */