svn commit: r335644 - head/sys/compat/linux
Ed Maste
emaste at FreeBSD.org
Mon Jun 25 19:24:51 UTC 2018
Author: emaste
Date: Mon Jun 25 19:24:50 2018
New Revision: 335644
URL: https://svnweb.freebsd.org/changeset/base/335644
Log:
Quiet unused fn warning for linuxulator w/o legacy syscalls
Sponsored by: Turing Robotic Industries
Modified:
head/sys/compat/linux/linux_sysctl.c
Modified: head/sys/compat/linux/linux_sysctl.c
==============================================================================
--- head/sys/compat/linux/linux_sysctl.c Mon Jun 25 18:53:06 2018 (r335643)
+++ head/sys/compat/linux/linux_sysctl.c Mon Jun 25 19:24:50 2018 (r335644)
@@ -86,6 +86,7 @@ LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_leng
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
+#ifdef LINUX_LEGACY_SYSCALLS
static int
handle_string(struct l___sysctl_args *la, char *value)
{
@@ -115,7 +116,6 @@ handle_string(struct l___sysctl_args *la, char *value)
return (0);
}
-#ifdef LINUX_LEGACY_SYSCALLS
int
linux_sysctl(struct thread *td, struct linux_sysctl_args *args)
{
More information about the svn-src-head
mailing list