[gs-cvs] rev 8750 - trunk/gs/src
ray at ghostscript.com
ray at ghostscript.com
Tue May 20 13:34:53 PDT 2008
Author: ray
Date: 2008-05-20 13:34:52 -0700 (Tue, 20 May 2008)
New Revision: 8750
Modified:
trunk/gs/src/gsmchunk.h
trunk/gs/src/gxclthrd.h
Log:
Add double inclusion protection to cure nag from nightly regression.
Modified: trunk/gs/src/gsmchunk.h
===================================================================
--- trunk/gs/src/gsmchunk.h 2008-05-20 16:18:40 UTC (rev 8749)
+++ trunk/gs/src/gsmchunk.h 2008-05-20 20:34:52 UTC (rev 8750)
@@ -11,9 +11,12 @@
San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information.
*/
-/* $Id:$ */
+/* $Id$ */
/* chunk consolidating wrapper on a base memory allocator */
+#ifndef gsmchunk_INCLUDED
+# define gsmchunk_INCLUDED
+
#define CHUNK_SIZE 65536
/* ---------- Public constructors/destructors ---------- */
@@ -32,7 +35,9 @@
gs_memory_t *gs_memory_chunk_target(const gs_memory_t *cmem);
#ifdef DEBUG
-void gs_memory_chunk_dump_memory(const gs_memory_t *mem);
+ void gs_memory_chunk_dump_memory(const gs_memory_t *mem);
-int chunk_allocator_unit_test(gs_memory_t *mem);
+ int chunk_allocator_unit_test(gs_memory_t *mem);
#endif /* DEBUG */
+
+#endif /* gsmchunk_INCLUDED */
Modified: trunk/gs/src/gxclthrd.h
===================================================================
--- trunk/gs/src/gxclthrd.h 2008-05-20 16:18:40 UTC (rev 8749)
+++ trunk/gs/src/gxclthrd.h 2008-05-20 20:34:52 UTC (rev 8750)
@@ -16,7 +16,7 @@
/* Requires gxsync.h */
#ifndef gxclthrd_INCLUDED
-# define gxcthrd_INCLUDED
+# define gxclthrd_INCLUDED
#include "gxsync.h"
More information about the gs-cvs
mailing list