diff options
author | Yang Tse <yangsita@gmail.com> | 2013-03-13 23:35:24 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-03-13 23:35:24 +0100 |
commit | 911b2d3f677eb1538d8469d43df5780e8b7c7abc (patch) | |
tree | f52ff91d97b8c8e6c09d490ac048f9f1d36d8caa /src/tool_main.c | |
parent | ba7fbd09604977c67d4a811123ba07ab6dbd3a1f (diff) | |
download | curl-911b2d3f677eb1538d8469d43df5780e8b7c7abc.tar.gz |
tool_main.c: remove redundant vms_show storage-class specifier
vms_show 'extern' storage-class specifier removed from tool_main.c due to...
- Advice from Tor Arntsen: http://curl.haxx.se/mail/lib-2013-03/0164.html
- HP OpenVMS docs stating that 'Extern is the default storage class for
variables declared outside a function.'
http://h71000.www7.hp.com/commercial/c/docs/dec_c_help_5.html
(Storage_Classes section)
Diffstat (limited to 'src/tool_main.c')
-rw-r--r-- | src/tool_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_main.c b/src/tool_main.c index 4b8817a2e..5e1010aa8 100644 --- a/src/tool_main.c +++ b/src/tool_main.c @@ -52,7 +52,7 @@ * Its value may be set in other tool_*.c source files thanks to * forward declaration present in tool_vms.h */ -extern int vms_show = 0; +int vms_show = 0; #endif /* |