commit c18e056190765f36a8801838184adc080ce0820f
parent 0c150b1982f71725fe4cea1501bb7d0877ca2247
Author: tjg <tjg>
Date: Tue, 6 Nov 2001 16:55:11 +0000
Bug: more wrongly ordered header file includes (thanks Callum
Gibson).
Diffstat:
9 files changed, 32 insertions(+), 13 deletions(-)
diff --git a/AUTHORS b/AUTHORS
@@ -28,10 +28,10 @@ version of rc presented here differs in some respects.
Tim would like to thank these people for their contributions since he
took over maintenance of rc. Aharon Robbins, Arvid Requate, Bengt
-Kleberg, Brynjulv Hauksson, Byron Rakitzis, Chris Siebenmann, Dale
-Scheetz, David Luyer, David Swasey, Decklin Foster, Donn Cave, Gary
-Carvell, Gerry Tomlinson, Gert-Jan Vons, Ian Lance Taylor, Jeremy
-Fitzhardinge, Marc Moorcroft, Mark H Wilkinson, Mark K Gardner,
-Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz, Stefan
-Dalibor, Steve Simon, Thomas Nordin, Tom Culliton, Tom Tromey, Vincent
-Broman, Wolfgang Zekoll.
+Kleberg, Brynjulv Hauksson, Byron Rakitzis, Callum Gibson, Chris
+Siebenmann, Dale Scheetz, David Luyer, David Swasey, Decklin Foster,
+Donn Cave, Gary Carvell, Gerry Tomlinson, Gert-Jan Vons, Ian Lance
+Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark H Wilkinson, Mark K
+Gardner, Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz,
+Stefan Dalibor, Steve Simon, Thomas Nordin, Tom Culliton, Tom Tromey,
+Vincent Broman, Wolfgang Zekoll.
diff --git a/ChangeLog b/ChangeLog
@@ -739,3 +739,8 @@ Changes since rc-1.5b2
Documentation: subscripted variables don't work in here documents.
Release: rc-1.6c4.
+
+2001-11-01
+
+ Bug: more wrongly ordered header file includes (thanks Callum
+ Gibson).
diff --git a/except.c b/except.c
@@ -1,6 +1,8 @@
+#include "rc.h"
+
#include <setjmp.h>
#include <signal.h>
-#include "rc.h"
+
#include "jbwrap.h"
/*
diff --git a/exec.c b/exec.c
@@ -1,9 +1,12 @@
/* exec.c */
+
+#include "rc.h"
+
#include <errno.h>
#include <signal.h>
-#include "rc.h"
#include "wait.h"
+
/*
Takes an argument list and does the appropriate thing (calls a
builtin, calls a function, etc.)
diff --git a/fn.c b/fn.c
@@ -3,9 +3,11 @@
Support for signal handlers is also found here.
*/
+#include "rc.h"
+
#include <signal.h>
#include <errno.h>
-#include "rc.h"
+
#include "sigmsgs.h"
static void fn_handler(int), dud_handler(int);
diff --git a/parse.y b/parse.y
@@ -5,6 +5,8 @@
*/
%{
+/* note that this actually needs to appear before any system header
+ files are included; byacc likes to throw in <stdlib.h> first. */
#include "rc.h"
static Node *star, *nolist;
diff --git a/signal.c b/signal.c
@@ -1,9 +1,10 @@
/* signal.c: a Hugh-approved signal handler. */
+#include "rc.h"
+
#include <signal.h>
#include <setjmp.h>
-#include "rc.h"
#include "sigmsgs.h"
#include "jbwrap.h"
diff --git a/utils.c b/utils.c
@@ -1,8 +1,10 @@
/* utils.c: functions of general utility */
+#include "rc.h"
+
#include <errno.h>
#include <setjmp.h>
-#include "rc.h"
+
#include "jbwrap.h"
/* print error with line number on noninteractive shells (i.e., scripts) */
diff --git a/walk.c b/walk.c
@@ -1,8 +1,10 @@
/* walk.c: walks the parse tree. */
+#include "rc.h"
+
#include <signal.h>
#include <setjmp.h>
-#include "rc.h"
+
#include "jbwrap.h"
/*