Commit 2b73f76
libbpf-tools: Fix list_syscalls() prototype return type
The function list_syscalls() in syscall_helpers.c returns an integer value,
but its prototype in syscall_helpers.h declared a void return type.
This commit corrects the function prototype in syscall_helpers.h to match
its implementation, changing the return type from void to int.
Fixes: f3fbeb4 ("libbpf-tools: convert BCC syscount to BPF CO-RE version")
Signed-off-by: Ism Hong <[email protected]>1 parent 791bf81 commit 2b73f76
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
0 commit comments