[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/src/m4.h,v
From: |
Eric Blake |
Subject: |
Changes to m4/src/m4.h,v |
Date: |
Tue, 26 Sep 2006 13:19:36 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/09/26 13:19:26
Index: src/m4.h
===================================================================
RCS file: /sources/m4/m4/src/m4.h,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- src/m4.h 7 Jul 2006 13:07:48 -0000 1.20
+++ src/m4.h 26 Sep 2006 13:19:26 -0000 1.21
@@ -21,69 +21,18 @@
#ifndef M4_H
#define M4_H
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-/* Canonicalise Windows and Cygwin recognition macros. */
-#if defined(__CYGWIN32__) && !defined(__CYGWIN__)
-# define __CYGWIN__ __CYGWIN32__
-#endif
-#if defined(_WIN32) && !defined(WIN32)
-# define WIN32 _WIN32
-#endif
+#include <config.h>
-#include <sys/types.h>
-#include <stdio.h>
#include <ctype.h>
-
-#include "m4module.h"
-
-/* An ANSI string.h and pre-ANSI memory.h might conflict. */
-
-#if defined (HAVE_STRING_H) || defined (STDC_HEADERS)
-# include <string.h>
-# if !defined (STDC_HEADERS) && defined (HAVE_MEMORY_H)
-# include <memory.h>
-# endif
-#else
-# include <strings.h>
-# ifndef memcpy
-# define memcpy(D, S, N) bcopy((S), (D), (N))
-# endif
-# ifndef strchr
-# define strchr(S, C) index ((S), (C))
-# endif
-# ifndef strrchr
-# define strrchr(S, C) rindex ((S), (C))
-# endif
-# ifndef bcopy
-void bcopy ();
-# endif
-#endif
-
-#if STDC_HEADERS || HAVE_STDLIB_H
-# include <stdlib.h>
-#else /* not STDC_HEADERS */
-
-voidstar malloc ();
-voidstar realloc ();
-char *getenv ();
-double atof ();
-long strtol ();
-
-#endif /* STDC_HEADERS */
-
#include <errno.h>
#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/types.h>
+#include <unistd.h>
-#ifndef errno
-extern int errno;
-#endif
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include "m4module.h"
#if HAVE_LOCALE_H
# include <locale.h>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to m4/src/m4.h,v,
Eric Blake <=