<p>Build without fork fails on:</p>
<pre><code>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)
^~~~~~~~~~~
</code></pre>
<p>Fixes:</p>
<ul>
<li><a href="http://autobuild.buildroot.org/results/ffc81d3798379a9c34c7a708ebbdea27409f755d" rel="nofollow">http://autobuild.buildroot.org/results/ffc81d3798379a9c34c7a708ebbdea27409f755d</a></li>
</ul>
<p>Signed-off-by: Fabrice Fontaine <a href="mailto:fontaine.fabrice@gmail.com">fontaine.fabrice@gmail.com</a></p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/strace/strace/pull/135'>https://github.com/strace/strace/pull/135</a></p>
<h4>Commit Summary</h4>
<ul>
<li>ptrace_syscall_info.c: fix build without fork</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/strace/strace/pull/135/files#diff-fb137564ede36ddaf9b5f04f7d0d4597">ptrace_syscall_info.c</a>
(6)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/strace/strace/pull/135.patch'>https://github.com/strace/strace/pull/135.patch</a></li>
<li><a href='https://github.com/strace/strace/pull/135.diff'>https://github.com/strace/strace/pull/135.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/pull/135">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AOVBTR57G6JV4CI7TWYMZ6TRMRFEHANCNFSM4MHVTSUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AOVBTR4U7HDXVTQGGZJI7E3RMRFEHA5CNFSM4MHVTSU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I533YNQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/pull/135",
"url": "https://github.com/strace/strace/pull/135",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>