Module Name: src Committed By: christos Date: Fri Feb 3 16:33:10 UTC 2012
Modified Files: src/external/bsd/ntp/bin/sntp: Makefile src/external/bsd/ntp/dist/sntp: main.c src/external/bsd/ntp/lib/libopts: Makefile Log Message: cleanup last warnings, and remove local warnings overrides. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/bin/sntp/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/dist/sntp/main.c cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/lib/libopts/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/ntp/bin/sntp/Makefile diff -u src/external/bsd/ntp/bin/sntp/Makefile:1.4 src/external/bsd/ntp/bin/sntp/Makefile:1.5 --- src/external/bsd/ntp/bin/sntp/Makefile:1.4 Wed Feb 1 16:22:19 2012 +++ src/external/bsd/ntp/bin/sntp/Makefile Fri Feb 3 11:33:10 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/02/01 21:22:19 kardel Exp $ +# $NetBSD: Makefile,v 1.5 2012/02/03 16:33:10 christos Exp $ USE_FORT?= yes # network client/server @@ -9,8 +9,6 @@ BINDIR= /usr/sbin .include "${.CURDIR}/../Makefile.inc" -WARNS=0 - DIST=${IDIST}/sntp CPPFLAGS+=-I${IDIST}/sntp -I${IDIST}/sntp/libopts Index: src/external/bsd/ntp/dist/sntp/main.c diff -u src/external/bsd/ntp/dist/sntp/main.c:1.4 src/external/bsd/ntp/dist/sntp/main.c:1.5 --- src/external/bsd/ntp/dist/sntp/main.c:1.4 Wed Feb 1 15:48:01 2012 +++ src/external/bsd/ntp/dist/sntp/main.c Fri Feb 3 11:33:10 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.4 2012/02/01 20:48:01 kardel Exp $ */ +/* $NetBSD: main.c,v 1.5 2012/02/03 16:33:10 christos Exp $ */ #include <config.h> @@ -111,7 +111,7 @@ sntp_main ( /* Considering employing a variable that prevents functions of doing anything until * everything is initialized properly */ - resc = resolve_hosts((const char **)argv, argc, &resh, ai_fam_pref); + resc = resolve_hosts((void *)argv, argc, &resh, ai_fam_pref); if (resc < 1) { printf("Unable to resolve hostname(s)\n"); return -1; Index: src/external/bsd/ntp/lib/libopts/Makefile diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.4 src/external/bsd/ntp/lib/libopts/Makefile:1.5 --- src/external/bsd/ntp/lib/libopts/Makefile:1.4 Wed Feb 1 15:49:09 2012 +++ src/external/bsd/ntp/lib/libopts/Makefile Fri Feb 3 11:33:10 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2012/02/01 20:49:09 kardel Exp $ +# $NetBSD: Makefile,v 1.5 2012/02/03 16:33:10 christos Exp $ LIBISPRIVATE=yes @@ -8,9 +8,6 @@ LIB=opts .include "${.CURDIR}/../Makefile.inc" -# libopts is not really great code -WARNS=0 - DIST= ${IDIST}/sntp/libopts CPPFLAGS+=-I${DIST}