diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-22 18:39:25 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-22 18:39:25 +0000 |
commit | d90a1a4ac60d4b0e54e821b28fc798656d119c54 (patch) | |
tree | fc2f346769c4e687b6b48f3cf3058e2f577a035e /epan/dtd_preparse.l | |
parent | 35bd5bd8543bb80bca0a7585fe9ad6b585b7a009 (diff) |
Make the private variables for various lexical analyzers static, so
that we don't have all the lexical analyzers in libethereal share them
(note that they're already static in radius_dict.l, so they weren't
sharing with any other lexical analyzer), and so that OS X 10.3.9's
run-time linker doesn't get upset at finding them defined in libethereal
and the MATE plugin.
Fix up indentation.
svn path=/trunk/; revision=15961
Diffstat (limited to 'epan/dtd_preparse.l')
-rw-r--r-- | epan/dtd_preparse.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dtd_preparse.l b/epan/dtd_preparse.l index f6b21a66ea..594cce1a66 100644 --- a/epan/dtd_preparse.l +++ b/epan/dtd_preparse.l @@ -45,8 +45,8 @@ #include "dtd.h" #define MAX_INCLUDE_DEPTH 10 -YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; -int include_stack_ptr = 0; +static YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH]; +static int include_stack_ptr = 0; #define ECHO g_string_append(current,yytext); |