Skip to content

Commit

Permalink
Fix: function signature
Browse files Browse the repository at this point in the history
error: a function declaration without a prototype is deprecated in all versions of C
  • Loading branch information
jjnicola committed May 2, 2023
1 parent e0f5102 commit 49be12a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion misc/plugutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1072,9 +1072,10 @@ plug_get_kb (struct script_infos *args)
}

static void
plug_get_key_sigchld ()
plug_get_key_sigchld (int s)
{
int status;
(void) s;

wait (&status);
}
Expand Down

0 comments on commit 49be12a

Please sign in to comment.