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-x11.c | |
parent | 46a89d60f56997c8b859d67cd7f6b4442211f871 (diff) | |
download | wireshark-db319329411e4b1db7e19e8cc5eb518525d107ad.tar.gz wireshark-db319329411e4b1db7e19e8cc5eb518525d107ad.tar.bz2 wireshark-db319329411e4b1db7e19e8cc5eb518525d107ad.zip |
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-x11.c')
-rw-r--r-- | packet-x11.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-x11.c b/packet-x11.c index 413a56906e..62050eaa6a 100644 --- a/packet-x11.c +++ b/packet-x11.c @@ -2,7 +2,7 @@ * Routines for X11 dissection * Copyright 2000, Christophe Tronche <ch.tronche@computer.org> * - * $Id: packet-x11.c,v 1.37 2002/04/14 22:50:07 guy Exp $ + * $Id: packet-x11.c,v 1.38 2002/04/14 23:04:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2599,9 +2599,9 @@ static gint compareAddresses(gconstpointer aa, gconstpointer bb) started in a previous packet... */ -int numberOfBitSetTable[] = { 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4 }; +static int numberOfBitSetTable[] = { 0, 1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 3, 2, 3, 3, 4 }; -int numberOfBitSet(tvbuff_t *tvb, int offset, int maskLength) +static int numberOfBitSet(tvbuff_t *tvb, int offset, int maskLength) { int res = 0; while(maskLength--) { |