$NetBSD: patch-aa,v 1.7 2009/12/11 00:11:11 abs Exp $ --- stop.c.orig 2003-03-30 20:05:53.000000000 +0000 +++ stop.c @@ -35,17 +35,21 @@ int argc; char *argv[]; { unsigned long pid; +#ifdef __linux__ FILE * pidfile; char buf[80]; char procname[80]; +#endif extern unsigned long lockpid(); extern char *make_lock_name(); extern void quit(); pid = lockpid(make_lock_name(monfile)); +#ifdef __linux__ procname[0] = 0; buf[0] = 0; pidfile = (FILE *) NULL; +#endif if( pid == 0 ) {