Date: Fri, 29 Jun 2001 00:38:12 -0400 (EDT) From: Mike Barcroft <mike@q9media.com> To: audit@FreeBSD.org Subject: src/sbin/adjkerntz patch Message-ID: <200106290438.f5T4cCH98031@coffee.q9media.com>
next in thread | raw e-mail | index | archive | help
I would appreciate it if someone would review and commit the patch at the end of this message. Also available at: http://testbed.q9media.net/freebsd/adjkerntz.20010629.patch Best regards, Mike Barcroft ----------------------------------------------------------------------- adjkerntz.20010629.patch o Properly prototype fake() o Set WARNS?=2 Index: adjkerntz/Makefile =================================================================== RCS file: /home/ncvs/src/sbin/adjkerntz/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- adjkerntz/Makefile 2001/03/26 14:32:55 1.4 +++ adjkerntz/Makefile 2001/06/29 04:22:33 @@ -1,7 +1,7 @@ # $FreeBSD: src/sbin/adjkerntz/Makefile,v 1.4 2001/03/26 14:32:55 ru Exp $ PROG= adjkerntz +WARNS?= 2 MAN= adjkerntz.8 -CFLAGS+= -Wall .include <bsd.prog.mk> Index: adjkerntz/adjkerntz.c =================================================================== RCS file: /home/ncvs/src/sbin/adjkerntz/adjkerntz.c,v retrieving revision 1.25 diff -u -r1.25 adjkerntz.c --- adjkerntz/adjkerntz.c 1999/08/28 00:12:14 1.25 +++ adjkerntz/adjkerntz.c 2001/06/29 04:22:33 @@ -65,9 +65,15 @@ #define REPORT_PERIOD (30*60) +static void fake __P((int)); static void usage __P((void)); -void fake() {} +static void +fake(unused) + int unused __unused; +{ + /* Do nothing. */ +} int main(argc, argv) int argc; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106290438.f5T4cCH98031>