vms_show: post VMS patch cleanup - II

- remove multiple declarations of vms_show and add comments
This commit is contained in:
Yang Tse
2013-02-06 04:51:55 +01:00
parent e0c491026f
commit 453e821ad7
4 changed files with 17 additions and 6 deletions

View File

@@ -45,6 +45,16 @@
*/
#include "memdebug.h" /* keep this as LAST include */
#ifdef __VMS
/*
* vms_show is a global variable, used in main() as parameter for
* function vms_special_exit() to allow proper curl tool exiting.
* Its value may be set in other tool_*.c source files thanks to
* forward declaration present in tool_vms.h
*/
static int vms_show = 0;
#endif
/*
* Ensure that file descriptors 0, 1 and 2 (stdin, stdout, stderr) are
* open before starting to run. Otherwise, the first three network