diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-21 08:58:50 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-04-21 08:58:50 +0000 |
commit | 9fc25be70985645951ef9b2f3569ea9ddd83ee27 (patch) | |
tree | 73fad09a66b194dd2f70e5eb2a9fa7eedcda9afe /epan/emem.c | |
parent | 6c674759d6d7128653b611c729370bbed6a4f02a (diff) |
From Marton Nemeth (bug 2484):
The variables ep_canary[], se_canary[], ep_packet_mem and se_packet_mem are
only used in emem.c, so the visibility can be file local (static).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25132 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/emem.c')
-rw-r--r-- | epan/emem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/emem.c b/epan/emem.c index 7e2c43ebd6..9d2dec4a4b 100644 --- a/epan/emem.c +++ b/epan/emem.c @@ -101,7 +101,7 @@ static int dev_zero_fd; #ifdef DEBUG_USE_CANARIES #define EMEM_CANARY_SIZE 8 #define EMEM_CANARY_DATA_SIZE (EMEM_CANARY_SIZE * 2 - 1) -guint8 ep_canary[EMEM_CANARY_DATA_SIZE], se_canary[EMEM_CANARY_DATA_SIZE]; +static guint8 ep_canary[EMEM_CANARY_DATA_SIZE], se_canary[EMEM_CANARY_DATA_SIZE]; #endif /* DEBUG_USE_CANARIES */ typedef struct _emem_chunk_t { @@ -125,8 +125,8 @@ typedef struct _emem_header_t { emem_chunk_t *used_list; } emem_header_t; -emem_header_t ep_packet_mem; -emem_header_t se_packet_mem; +static emem_header_t ep_packet_mem; +static emem_header_t se_packet_mem; #if !defined(SE_DEBUG_FREE) #if defined (_WIN32) |