Permalink
Browse files

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)
  • Loading branch information...
1 parent ba7fbd0 commit 911b2d3f677eb1538d8469d43df5780e8b7c7abc @yangtse yangtse committed Mar 13, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/tool_main.c
View
@@ -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
/*

0 comments on commit 911b2d3

Please sign in to comment.