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.
This commit is contained in:
parent
f793bda073
commit
5d2293dea6
@ -359,12 +359,14 @@ update_personality(struct tcb *tcp, unsigned int personality)
|
|||||||
}
|
}
|
||||||
#endif
|
#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 {
|
static const struct qual_options {
|
||||||
unsigned int bitflag;
|
unsigned int bitflag;
|
||||||
const char *option_name;
|
const char *option_name;
|
||||||
int (*qualify)(const char *, int, int);
|
int (*qualify)(const char *, unsigned int, int);
|
||||||
const char *argument_name;
|
const char *argument_name;
|
||||||
} qual_options[] = {
|
} qual_options[] = {
|
||||||
{ QUAL_TRACE, "trace", qual_syscall, "system call" },
|
{ QUAL_TRACE, "trace", qual_syscall, "system call" },
|
||||||
|
Loading…
Reference in New Issue
Block a user