ref: 91744cfb2fe5d8b5b66d31077b4b22c6b3c905a2
parent: 13cc9dc158f12c3f446579655e942e44ac158634
author: Robin Watts <[email protected]>
date: Thu Aug 23 09:34:43 EDT 2012
Move memento include from jbig2.h to jbig2_priv.h There is no need to expose memento outside of jbig2. Thanks to zeniko for the discussion in bug 693284 that lead to this.
--- a/jbig2.h
+++ b/jbig2.h
@@ -25,18 +25,6 @@
#ifndef _JBIG2_H
#define _JBIG2_H
-/* To enable Memento, either uncomment the following, or arrange to
- * predefine MEMENTO whilst building. */
-/* #define MEMENTO */
-
-/* If we are building as part of GS then make sure we use the version
- * of MEMENTO that is part of gs (in case of version skew) */
-#ifdef GSBUILD
-#include "../base/memento.h"
-#else
-#include "memento.h"
-#endif
-
/* warning levels */
typedef enum {
JBIG2_SEVERITY_DEBUG,
--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -40,6 +40,18 @@
#define NULL ((void*)0)
#endif
+/* To enable Memento, either uncomment the following, or arrange to
+ * predefine MEMENTO whilst building. */
+/* #define MEMENTO */
+
+/* If we are building as part of GS then make sure we use the version
+ * of MEMENTO that is part of gs (in case of version skew) */
+#ifdef GSBUILD
+#include "../base/memento.h"
+#else
+#include "memento.h"
+#endif
+
typedef enum {
JBIG2_FILE_HEADER,
JBIG2_FILE_SEQUENTIAL_HEADER,