[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/modules/m4.c,v
From: |
Gary V. Vaughan |
Subject: |
Changes to m4/modules/m4.c,v |
Date: |
Mon, 02 Apr 2007 12:06:28 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Gary V. Vaughan <gary> 07/04/02 12:06:23
Index: modules/m4.c
===================================================================
RCS file: /sources/m4/m4/modules/m4.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -b -r1.104 -r1.105
--- modules/m4.c 28 Feb 2007 21:31:12 -0000 1.104
+++ modules/m4.c 2 Apr 2007 12:06:23 -0000 1.105
@@ -20,8 +20,13 @@
#include <config.h>
-#include <assert.h>
-#include <errno.h>
+/* Build using only the exported interfaces, unless NDEBUG is set, in
+ which case use private symbols to speed things up as much as possible. */
+#ifndef NDEBUG
+# include <m4/m4module.h>
+#else
+# include "m4private.h"
+#endif
#include "stdlib--.h"
#include "tempname.h"
@@ -31,17 +36,8 @@
# include <sys/wait.h>
#endif
-#include <m4module.h>
#include <modules/m4.h>
-#ifdef NDEBUG
-/* Include this header for speed, which gives us direct access to
- the fields of internal structures at the expense of maintaining
- interface/implementation separation. The builtins in this file
- are the core of m4 and must be optimised for speed. */
-# include "m4private.h"
-#endif
-
/* Rename exported symbols for dlpreload()ing. */
#define m4_export_table m4_LTX_m4_export_table
#define m4_builtin_table m4_LTX_m4_builtin_table
- Changes to m4/modules/m4.c,v,
Gary V. Vaughan <=