Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/rpc Remove now unnecessary cast.



details:   https://anonhg.NetBSD.org/src/rev/d35a25af3ebd
branches:  trunk
changeset: 811747:d35a25af3ebd
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Nov 13 11:43:26 2015 +0000

description:
Remove now unnecessary cast.

diffstat:

 lib/libc/rpc/svc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e882358ba9c7 -r d35a25af3ebd lib/libc/rpc/svc.c
--- a/lib/libc/rpc/svc.c        Fri Nov 13 11:23:08 2015 +0000
+++ b/lib/libc/rpc/svc.c        Fri Nov 13 11:43:26 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: svc.c,v 1.37 2015/11/13 10:43:32 tron Exp $    */
+/*     $NetBSD: svc.c,v 1.38 2015/11/13 11:43:26 tron Exp $    */
 
 /*
  * Copyright (c) 2010, Oracle America, Inc.
@@ -37,7 +37,7 @@
 static char *sccsid = "@(#)svc.c 1.44 88/02/08 Copyr 1984 Sun Micro";
 static char *sccsid = "@(#)svc.c       2.4 88/08/11 4.0 RPCSRC";
 #else
-__RCSID("$NetBSD: svc.c,v 1.37 2015/11/13 10:43:32 tron Exp $");
+__RCSID("$NetBSD: svc.c,v 1.38 2015/11/13 11:43:26 tron Exp $");
 #endif
 #endif
 
@@ -155,7 +155,7 @@
        memset(&newxports[__svc_maxxports], 0,
            (maxset - __svc_maxxports) * sizeof(SVCXPRT *));
 
-       __svc_xports = (void *)newxports;
+       __svc_xports = newxports;
        __svc_xports++;
        __svc_maxxports = maxset;
 



Home | Main Index | Thread Index | Old Index