diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-14 23:04:04 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-14 23:04:04 +0000 |
commit | 3f50884f2d0d09ed8d5cbe8086066b7b95f8db91 (patch) | |
tree | dddb463b1b5567290a52f49b6534d5a6f4015fde /packet-x11.c | |
parent | 142bd9eec36a4b3a140e0a74f33ff5f9924aadae (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5162 f5534014-38df-0310-8fa8-9805f1628bb7
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--) { |