second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword

This commit is contained in:
Chet Ramey
2023-01-03 10:23:11 -05:00
parent 81e3a4fb07
commit a61ffa78ed
85 changed files with 2867 additions and 5479 deletions
+3 -5
View File
@@ -108,8 +108,7 @@ static void unset_waitlist (void);
while (0)
int
wait_builtin (list)
WORD_LIST *list;
wait_builtin (WORD_LIST *list)
{
int status, code, opt, nflag, vflags, bindflags;
volatile int wflags;
@@ -331,8 +330,7 @@ wait_builtin (list)
J_WAITING, so wait -n knows which jobs to wait for. Return the number of
jobs we found. */
static int
set_waitlist (list)
WORD_LIST *list;
set_waitlist (WORD_LIST *list)
{
sigset_t set, oset;
int job, r, njob;
@@ -367,7 +365,7 @@ set_waitlist (list)
/* Clean up after a call to wait -n jobs */
static void
unset_waitlist ()
unset_waitlist (void)
{
int i;
sigset_t set, oset;