aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorJim Blandy1993-06-29 22:58:40 +0000
committerJim Blandy1993-06-29 22:58:40 +0000
commit918f9ad18d02e3bdf2878827b38ef9dcfbd9b3af (patch)
tree492e6f3360c7a3eadc2d54e7396171f9481085a9 /lib-src
parent26c1639eb6a82de2bbf86af602569b83e90daeac (diff)
downloademacs-918f9ad18d02e3bdf2878827b38ef9dcfbd9b3af.tar.gz
emacs-918f9ad18d02e3bdf2878827b38ef9dcfbd9b3af.zip
* 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. */
26 * Sam Kendall added C++. 26 * Sam Kendall added C++.
27 */ 27 */
28 28
29#include <stdio.h>
30#include <ctype.h>
31#include <sys/types.h>
32#include <sys/stat.h>
33
34#include "../src/config.h" 29#include "../src/config.h"
35#undef static 30#undef static
36 31
37#include "getopt.h"
38
39/* AIX requires this to be the first thing in the file. */ 32/* AIX requires this to be the first thing in the file. */
40#ifdef __GNUC__ 33#ifdef __GNUC__
41#ifndef alloca 34#ifndef alloca
@@ -53,6 +46,13 @@ char *alloca ();
53#endif /* not HAVE_ALLOCA_H */ 46#endif /* not HAVE_ALLOCA_H */
54#endif /* not __GNUC__ */ 47#endif /* not __GNUC__ */
55 48
49#include <stdio.h>
50#include <ctype.h>
51#include <sys/types.h>
52#include <sys/stat.h>
53
54#include "getopt.h"
55
56extern char *malloc (), *realloc (); 56extern char *malloc (), *realloc ();
57extern char *getenv (); 57extern char *getenv ();
58extern char *strcpy (), *strncpy (); 58extern char *strcpy (), *strncpy ();