Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/netstat Don't use type qualifier 'register'.
details: https://anonhg.NetBSD.org/src/rev/09a744a108ab
branches: trunk
changeset: 764780:09a744a108ab
user: dyoung <dyoung%NetBSD.org@localhost>
date: Wed May 04 00:55:19 2011 +0000
description:
Don't use type qualifier 'register'.
diffstat:
usr.bin/netstat/inet6.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 481027f81c68 -r 09a744a108ab usr.bin/netstat/inet6.c
--- a/usr.bin/netstat/inet6.c Tue May 03 23:57:41 2011 +0000
+++ b/usr.bin/netstat/inet6.c Wed May 04 00:55:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: inet6.c,v 1.55 2011/05/03 23:36:26 dyoung Exp $ */
+/* $NetBSD: inet6.c,v 1.56 2011/05/04 00:55:19 dyoung Exp $ */
/* BSDI inet.c,v 2.3 1995/10/24 02:19:29 prb Exp */
/*
@@ -64,7 +64,7 @@
#if 0
static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94";
#else
-__RCSID("$NetBSD: inet6.c,v 1.55 2011/05/03 23:36:26 dyoung Exp $");
+__RCSID("$NetBSD: inet6.c,v 1.56 2011/05/04 00:55:19 dyoung Exp $");
#endif
#endif /* not lint */
@@ -1123,7 +1123,7 @@
icmp6_stats(u_long off, const char *name)
{
uint64_t icmp6stat[ICMP6_NSTATS];
- register int i, first;
+ int i, first;
if (use_sysctl) {
size_t size = sizeof(icmp6stat);
@@ -1386,7 +1386,7 @@
char *
inet6name(const struct in6_addr *in6p)
{
- register char *cp;
+ char *cp;
static char line[NI_MAXHOST];
struct hostent *hp;
static char domain[MAXHOSTNAMELEN + 1];
Home |
Main Index |
Thread Index |
Old Index