diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-14 23:04:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-14 23:04:04 +0000 |
commit | db319329411e4b1db7e19e8cc5eb518525d107ad (patch) | |
tree | dddb463b1b5567290a52f49b6534d5a6f4015fde /packet-rsvp.c | |
parent | 46a89d60f56997c8b859d67cd7f6b4442211f871 (diff) | |
download | wireshark-db319329411e4b1db7e19e8cc5eb518525d107ad.tar.gz |
From Joerg Mayer:
Declares some variables static.
Creates a new include file packet-rsvp.h, and make use of it
(change some extern decls to #inlcude).
Move the file packet-pgm.h into packet-pgm.c as it is not used
by anything outside packet-pgm.c.
svn path=/trunk/; revision=5162
Diffstat (limited to 'packet-rsvp.c')
-rw-r--r-- | packet-rsvp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-rsvp.c b/packet-rsvp.c index 111c119dc0..6fcfe92a94 100644 --- a/packet-rsvp.c +++ b/packet-rsvp.c @@ -3,7 +3,7 @@ * * (c) Copyright Ashok Narayanan <ashokn@cisco.com> * - * $Id: packet-rsvp.c,v 1.58 2002/03/29 00:41:54 ashokn Exp $ + * $Id: packet-rsvp.c,v 1.59 2002/04/14 23:04:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -73,6 +73,7 @@ #include "etypes.h" #include "ipproto.h" +#include "packet-rsvp.h" #include "packet-ip.h" static int proto_rsvp = -1; @@ -856,7 +857,7 @@ find_rsvp_session_tempfilt(tvbuff_t *tvb, int hdr_offset, int *session_offp, int if (tempfilt_offp) *tempfilt_offp = t_off; } -char *summary_session (tvbuff_t *tvb, int offset) +static char *summary_session (tvbuff_t *tvb, int offset) { static char buf[80]; @@ -880,7 +881,7 @@ char *summary_session (tvbuff_t *tvb, int offset) return buf; } -char *summary_template (tvbuff_t *tvb, int offset) +static char *summary_template (tvbuff_t *tvb, int offset) { static char buf[80]; char *objtype; |