From: Yang Tse Date: Wed, 13 Mar 2013 22:35:24 +0000 (+0100) Subject: tool_main.c: remove redundant vms_show storage-class specifier X-Git-Tag: curl-7_30_0~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=911b2d3f677eb1538d8469d43df5780e8b7c7abc;p=thirdparty%2Fcurl.git 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) --- diff --git a/src/tool_main.c b/src/tool_main.c index 4b8817a2e0..5e1010aa87 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 /*