Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/ntp cleanup last warnings, and remove local war...
details: https://anonhg.NetBSD.org/src/rev/1ed740332944
branches: trunk
changeset: 773487:1ed740332944
user: christos <christos%NetBSD.org@localhost>
date: Fri Feb 03 16:33:10 2012 +0000
description:
cleanup last warnings, and remove local warnings overrides.
diffstat:
external/bsd/ntp/bin/sntp/Makefile | 4 +---
external/bsd/ntp/dist/sntp/main.c | 4 ++--
external/bsd/ntp/lib/libopts/Makefile | 5 +----
3 files changed, 4 insertions(+), 9 deletions(-)
diffs (55 lines):
diff -r b0e1075cf3ec -r 1ed740332944 external/bsd/ntp/bin/sntp/Makefile
--- a/external/bsd/ntp/bin/sntp/Makefile Fri Feb 03 15:54:15 2012 +0000
+++ b/external/bsd/ntp/bin/sntp/Makefile Fri Feb 03 16:33:10 2012 +0000
@@ -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 @@
.include "${.CURDIR}/../Makefile.inc"
-WARNS=0
-
DIST=${IDIST}/sntp
CPPFLAGS+=-I${IDIST}/sntp -I${IDIST}/sntp/libopts
diff -r b0e1075cf3ec -r 1ed740332944 external/bsd/ntp/dist/sntp/main.c
--- a/external/bsd/ntp/dist/sntp/main.c Fri Feb 03 15:54:15 2012 +0000
+++ b/external/bsd/ntp/dist/sntp/main.c Fri Feb 03 16:33:10 2012 +0000
@@ -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 @@
/* 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;
diff -r b0e1075cf3ec -r 1ed740332944 external/bsd/ntp/lib/libopts/Makefile
--- a/external/bsd/ntp/lib/libopts/Makefile Fri Feb 03 15:54:15 2012 +0000
+++ b/external/bsd/ntp/lib/libopts/Makefile Fri Feb 03 16:33:10 2012 +0000
@@ -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 @@
.include "${.CURDIR}/../Makefile.inc"
-# libopts is not really great code
-WARNS=0
-
DIST= ${IDIST}/sntp/libopts
CPPFLAGS+=-I${DIST}
Home |
Main Index |
Thread Index |
Old Index