summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/tcpdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r--usr.sbin/tcpdump/tcpdump.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c
index 480ba7ecb51..8b9d5c18412 100644
--- a/usr.sbin/tcpdump/tcpdump.c
+++ b/usr.sbin/tcpdump/tcpdump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpdump.c,v 1.76 2015/10/28 12:28:14 jca Exp $ */
+/* $OpenBSD: tcpdump.c,v 1.77 2015/11/16 00:16:39 mmcc Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -612,10 +612,10 @@ default_print_ascii(const u_char *cp, unsigned int length)
/* Like default_print() but data need not be aligned */
void
-default_print_unaligned(register const u_char *cp, register u_int length)
+default_print_unaligned(const u_char *cp, u_int length)
{
- register u_int i, s;
- register int nshorts;
+ u_int i, s;
+ int nshorts;
if (Xflag) {
/* dump the buffer in `emacs-hexl' style */
@@ -642,11 +642,11 @@ default_print_unaligned(register const u_char *cp, register u_int length)
}
void
-default_print(register const u_char *bp, register u_int length)
+default_print(const u_char *bp, u_int length)
{
- register const u_short *sp;
- register u_int i;
- register int nshorts;
+ const u_short *sp;
+ u_int i;
+ int nshorts;
if (Xflag) {
/* dump the buffer in `emacs-hexl' style */