summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-06-29 22:58:40 +0000
committerJim Blandy <jimb@redhat.com>1993-06-29 22:58:40 +0000
commit07b871334779ca110861f8da795668067120fa3b (patch)
tree1ceeef31483f01037cd230fccf4fc1b8343d7062 /lib-src
parent20ed6d286d6381b0f3248aa8228abe145a4c67fb (diff)
downloademacs-07b871334779ca110861f8da795668067120fa3b.tar.gz
* etags.c: #include "config.h" and the alloca CPP tangle before
#including the system headers and getopt.h. AIX requires the #pragma to come before any actual C code.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 22b25678823..c582d61b444 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -26,16 +26,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
* Sam Kendall added C++.
*/
-#include <stdio.h>
-#include <ctype.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-
#include "../src/config.h"
#undef static
-#include "getopt.h"
-
/* AIX requires this to be the first thing in the file. */
#ifdef __GNUC__
#ifndef alloca
@@ -53,6 +46,13 @@ char *alloca ();
#endif /* not HAVE_ALLOCA_H */
#endif /* not __GNUC__ */
+#include <stdio.h>
+#include <ctype.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+
+#include "getopt.h"
+
extern char *malloc (), *realloc ();
extern char *getenv ();
extern char *strcpy (), *strncpy ();