summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/print-igrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/print-igrp.c')
-rw-r--r--usr.sbin/tcpdump/print-igrp.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.sbin/tcpdump/print-igrp.c b/usr.sbin/tcpdump/print-igrp.c
index 636e3dafcd8..1baab1b3f4d 100644
--- a/usr.sbin/tcpdump/print-igrp.c
+++ b/usr.sbin/tcpdump/print-igrp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-igrp.c,v 1.7 2015/01/16 06:40:21 deraadt Exp $ */
+/* $OpenBSD: print-igrp.c,v 1.8 2015/11/16 00:16:39 mmcc Exp $ */
/*
* Copyright (c) 1996, 1997
@@ -41,10 +41,9 @@
#include "extract.h" /* must come after interface.h */
static void
-igrp_entry_print(register struct igrprte *igr, register int is_interior,
- register int is_exterior)
+igrp_entry_print(struct igrprte *igr, int is_interior, int is_exterior)
{
- register u_int delay, bandwidth;
+ u_int delay, bandwidth;
u_int metric, mtu;
if (is_interior)
@@ -77,11 +76,11 @@ static struct tok op2str[] = {
};
void
-igrp_print(register const u_char *bp, u_int length, register const u_char *bp2)
+igrp_print(const u_char *bp, u_int length, const u_char *bp2)
{
- register struct igrphdr *hdr;
- register struct ip *ip;
- register u_char *cp;
+ struct igrphdr *hdr;
+ struct ip *ip;
+ u_char *cp;
u_int nint, nsys, next;
hdr = (struct igrphdr *)bp;