summaryrefslogtreecommitdiff
path: root/print-rsvp.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-13 19:17:47 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2017-12-13 19:17:47 +0100
commit5cea2703185c6af1616dc338c43c6cf67b0bec60 (patch)
tree004fe256b821973a0f2d249665b32666b6333490 /print-rsvp.c
parente9306685c6fa9f76350334930ae14a935673f06b (diff)
downloadtcpdump-5cea2703185c6af1616dc338c43c6cf67b0bec60.tar.gz
Remove all storage class specifier 'register'
Let the compiler do the optimizations (or not) based on build options. Avoid 'value has been optimized out' messages in gdb using '-O0'.
Diffstat (limited to 'print-rsvp.c')
-rw-r--r--print-rsvp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-rsvp.c b/print-rsvp.c
index dfedaf50..29d27412 100644
--- a/print-rsvp.c
+++ b/print-rsvp.c
@@ -1849,7 +1849,7 @@ trunc:
void
rsvp_print(netdissect_options *ndo,
- register const u_char *pptr, register u_int len)
+ const u_char *pptr, u_int len)
{
const struct rsvp_common_header *rsvp_com_header;
const u_char *tptr;