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/b92996208503
branches: trunk
changeset: 341605:b92996208503
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 6ba4e17805a4 -r b92996208503 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