[strace/strace] ptrace_syscall_info.c: fix build without fork (#135)
Fabrice Fontaine
notifications at github.com
Tue Apr 14 11:53:39 UTC 2020
Build without fork fails on:
```
ptrace_syscall_info.c:33:27: error: 'expected_entry_size' defined but not used [-Werror=unused-const-variable=]
static const unsigned int expected_entry_size =
^~~~~~~~~~~~~~~~~~~
ptrace_syscall_info.c:31:27: error: 'expected_none_size' defined but not used [-Werror=unused-const-variable=]
static const unsigned int expected_none_size =
^~~~~~~~~~~~~~~~~~
ptrace_syscall_info.c:24:1: error: 'kill_tracee' defined but not used [-Werror=unused-function]
kill_tracee(pid_t pid)
^~~~~~~~~~~
```
Fixes:
- http://autobuild.buildroot.org/results/ffc81d3798379a9c34c7a708ebbdea27409f755d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
You can view, comment on, or merge this pull request online at:
https://github.com/strace/strace/pull/135
-- Commit Summary --
* ptrace_syscall_info.c: fix build without fork
-- File Changes --
M ptrace_syscall_info.c (6)
-- Patch Links --
https://github.com/strace/strace/pull/135.patch
https://github.com/strace/strace/pull/135.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/135
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200414/5cb17497/attachment.html>
More information about the Strace-devel
mailing list