summaryrefslogtreecommitdiff
path: root/src/include/utils/palloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/palloc.h')
-rw-r--r--src/include/utils/palloc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/utils/palloc.h b/src/include/utils/palloc.h
index 69ad079bb29..5ea3d9bb849 100644
--- a/src/include/utils/palloc.h
+++ b/src/include/utils/palloc.h
@@ -6,15 +6,13 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: palloc.h,v 1.9 1999/05/25 16:14:56 momjian Exp $
+ * $Id: palloc.h,v 1.10 1999/07/14 01:20:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PALLOC_H
#define PALLOC_H
-#include "c.h"
-
#ifdef PALLOC_IS_MALLOC
#define palloc(s) malloc(s)
@@ -27,8 +25,6 @@
* In the case we use memory contexts, use macro's for palloc() etc.
* ----------
*/
-#include "utils/mcxt.h"
-
#define palloc(s) ((void *)MemoryContextAlloc(CurrentMemoryContext,(Size)(s)))
#define pfree(p) MemoryContextFree(CurrentMemoryContext,(Pointer)(p))
#define repalloc(p,s) ((void *)MemoryContextRealloc(CurrentMemoryContext,(Pointer)(p),(Size)(s)))