diff options
author | Yang Tse <yangsita@gmail.com> | 2013-02-06 04:51:55 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2013-02-06 04:51:55 +0100 |
commit | 453e821ad74a042da0373ebb4716708529834071 (patch) | |
tree | 116ff416b00cc5afe00cdd039b37c46444e15470 /src/tool_vms.h | |
parent | e0c491026faa40d94d330f8809b0fbd70168a32f (diff) | |
download | curl-453e821ad74a042da0373ebb4716708529834071.tar.gz |
vms_show: post VMS patch cleanup - II
- remove multiple declarations of vms_show and add comments
Diffstat (limited to 'src/tool_vms.h')
-rw-r--r-- | src/tool_vms.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tool_vms.h b/src/tool_vms.h index ad1339c03..1afd75ec8 100644 --- a/src/tool_vms.h +++ b/src/tool_vms.h @@ -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); |