summaryrefslogtreecommitdiff
path: root/builtins/suspend.def
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2023-01-03 10:23:11 -0500
committerChet Ramey <chet.ramey@case.edu>2023-01-03 10:23:11 -0500
commita61ffa78ede6df4d1127fddd2e8a1a77a7186ea1 (patch)
tree264850f084877635cfa80be1e2a99a6cd2341b8d /builtins/suspend.def
parent81e3a4fb07d78880a737c15624d38f84ad68313b (diff)
downloadbash-a61ffa78ede6df4d1127fddd2e8a1a77a7186ea1.tar.gz
second set of ANSI C changes: C89-style function declarations, more inline functions, remove register keyword
Diffstat (limited to 'builtins/suspend.def')
-rw-r--r--builtins/suspend.def6
1 files changed, 2 insertions, 4 deletions
diff --git a/builtins/suspend.def b/builtins/suspend.def
index 1d60ef90..b1db8031 100644
--- a/builtins/suspend.def
+++ b/builtins/suspend.def
@@ -65,8 +65,7 @@ static SigHandler *old_stop;
/* Continue handler. */
static sighandler
-suspend_continue (sig)
- int sig;
+suspend_continue (int sig)
{
set_signal_handler (SIGCONT, old_cont);
#if 0
@@ -78,8 +77,7 @@ suspend_continue (sig)
/* Suspending the shell. If -f is the arg, then do the suspend
no matter what. Otherwise, complain if a login shell. */
int
-suspend_builtin (list)
- WORD_LIST *list;
+suspend_builtin (WORD_LIST *list)
{
int opt, force;