From 9452e1bc650881c69d3f13973f15d2e9246507ca Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Sat, 13 Mar 2010 13:58:36 +0100 Subject: [PATCH] Fix LINT build. --- sys/emulation/linux/i386/linux_machdep.c | 8 -------- sys/emulation/linux/linux_ioctl.c | 4 ---- sys/sys/eventhandler.h | 2 ++ 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/sys/emulation/linux/i386/linux_machdep.c b/sys/emulation/linux/i386/linux_machdep.c index 822f8f3217..c3b525960c 100644 --- a/sys/emulation/linux/i386/linux_machdep.c +++ b/sys/emulation/linux/i386/linux_machdep.c @@ -486,14 +486,6 @@ sys_linux_clone(struct linux_clone_args *args) int exit_signal; vm_offset_t start; -#ifdef DEBUG - if (ldebug(clone)) { - kprintf(ARGS(clone, "flags %x, stack %x"), - (unsigned int)args->flags, (unsigned int)args->stack); - if (args->flags & CLONE_PID) - kprintf(LMSG("CLONE_PID not yet supported")); - } -#endif exit_signal = args->flags & 0x000000ff; if (exit_signal >= LINUX_NSIG) return (EINVAL); diff --git a/sys/emulation/linux/linux_ioctl.c b/sys/emulation/linux/linux_ioctl.c index 2e0f315762..4515aa1a97 100644 --- a/sys/emulation/linux/linux_ioctl.c +++ b/sys/emulation/linux/linux_ioctl.c @@ -1126,10 +1126,6 @@ linux_ioctl_SIOCGIFMETRIC(struct file *fp, u_long cmd, u_long ocmd, caddr_t data if (ifp == NULL) return EINVAL; -#if DEBUG - kprintf("Interface metric: %d\n", ifp->if_metric); -#endif - metric = ifp->if_metric; return (copyout(&metric, &ifr->ifr_ifmetric, sizeof(metric))); } diff --git a/sys/sys/eventhandler.h b/sys/sys/eventhandler.h index 6e3269eb39..5df59b8055 100644 --- a/sys/sys/eventhandler.h +++ b/sys/sys/eventhandler.h @@ -159,6 +159,8 @@ extern struct eventhandler_list *eventhandler_find_list(char *name); #define EVENTHANDLER_PRI_LAST 20000 struct image_params; +struct proc; + /* Shutdown events */ typedef void (*shutdown_fn) (void *, int); -- 2.11.4.GIT