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

@@ -25,7 +25,12 @@
#ifdef __VMS
int vms_show; /* If VMS error code has been written */
/*
* Forward-declaration of global variable vms_show defined
* in tool_main.c, used in main() as parameter for function
* vms_special_exit() to allow proper curl tool exiting.
*/
extern int vms_show;
int is_vms_shell(void);
void vms_special_exit(int code, int vms_show);