diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2022-03-24 18:14:23 +0800 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2022-03-24 13:40:10 +0000 |
commit | 0a12d7472e70eef7f478b5fce1dce9b5438a6114 (patch) | |
tree | 2f24603247f3017b06f9c2590e34df7a0d112b55 | |
parent | fb99192806e80ddcba852d7701c3cea9b7ae09cb (diff) | |
download | neon-git-0a12d7472e70eef7f478b5fce1dce9b5438a6114.tar.gz |
ne_utils.h: Decorate public variables with NE_VAR
...and replace their 'extern' attribute with NE_VAR as a result, since NE_VAR
is defined appropriately for the compiler and build type used and include the
'extern' attribute for all cases.
-rw-r--r-- | src/ne_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ne_utils.h b/src/ne_utils.h index dbeefa9..59fc4e2 100644 --- a/src/ne_utils.h +++ b/src/ne_utils.h @@ -85,8 +85,8 @@ void ne_debug_init(FILE *stream, int mask); /* The current debug mask and stream set by the last call to * ne_debug_init. */ -extern int ne_debug_mask; -extern FILE *ne_debug_stream; +NE_VAR int ne_debug_mask; +NE_VAR FILE *ne_debug_stream; /* Produce debug output if any of channels 'ch' is enabled for * debugging. */ |