Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/util remove (void *) casts when passin...



details:   https://anonhg.NetBSD.org/src/rev/65e558c8690a
branches:  trunk
changeset: 325545:65e558c8690a
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Dec 28 13:27:39 2013 +0000

description:
remove (void *) casts when passing const pointers to a const void *
taking function.  ...

diffstat:

 external/bsd/ntp/dist/util/ntp-keygen-opts.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 07f111de7e0e -r 65e558c8690a external/bsd/ntp/dist/util/ntp-keygen-opts.c
--- a/external/bsd/ntp/dist/util/ntp-keygen-opts.c      Sat Dec 28 11:15:43 2013 +0000
+++ b/external/bsd/ntp/dist/util/ntp-keygen-opts.c      Sat Dec 28 13:27:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp-keygen-opts.c,v 1.5 2013/12/28 03:20:15 christos Exp $     */
+/*     $NetBSD: ntp-keygen-opts.c,v 1.6 2013/12/28 13:27:39 mrg Exp $  */
 
 /*
  *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.c)
@@ -1076,7 +1076,7 @@
     option_usage_fp = stderr;
 
  emit_ranges:
-    optionShowRange(pOptions, pOptDesc, (void *)rng, 1);
+    optionShowRange(pOptions, pOptDesc, rng, 1);
 }
 #endif /* defined AUTOKEY */
 
@@ -1138,7 +1138,7 @@
     option_usage_fp = stderr;
 
  emit_ranges:
-    optionShowRange(pOptions, pOptDesc, (void *)rng, 1);
+    optionShowRange(pOptions, pOptDesc, rng, 1);
 }
 #endif /* defined AUTOKEY */
 /* extracted from optmain.tlib near line 46 */



Home | Main Index | Thread Index | Old Index