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
+2 -5
View File
@@ -82,8 +82,7 @@ static void kill_error (pid_t, int);
kill -KILL %1? No, if you fill up the process table this way you
can still kill some. */
int
kill_builtin (list)
WORD_LIST *list;
kill_builtin (WORD_LIST *list)
{
int sig, any_succeeded, listing, saw_signal, dflags;
char *sigspec, *word;
@@ -263,9 +262,7 @@ use_sigspec:
}
static void
kill_error (pid, e)
pid_t pid;
int e;
kill_error (pid_t pid, int e)
{
char *x;