From: Dmitry V. Levin Date: Fri, 11 Nov 2016 23:55:23 +0000 (+0000) Subject: Fix prototypes of qual_desc, qual_signal, and qual_syscall functions X-Git-Tag: v4.15~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d2293dea6272464004a7470202676f47fb94f75;p=strace Fix prototypes of qual_desc, qual_signal, and qual_syscall functions * syscall.c (qual_desc, qual_signal, qual_syscall): Fix prototypes. (struct qual_options): Fix type of "qualify" member. --- diff --git a/syscall.c b/syscall.c index b62409c4..f69132a9 100644 --- a/syscall.c +++ b/syscall.c @@ -359,12 +359,14 @@ update_personality(struct tcb *tcp, unsigned int personality) } #endif -static int qual_syscall(), qual_signal(), qual_desc(); +static int qual_desc(const char *, unsigned int, int); +static int qual_signal(const char *, unsigned int, int); +static int qual_syscall(const char *, unsigned int, int); static const struct qual_options { unsigned int bitflag; const char *option_name; - int (*qualify)(const char *, int, int); + int (*qualify)(const char *, unsigned int, int); const char *argument_name; } qual_options[] = { { QUAL_TRACE, "trace", qual_syscall, "system call" },