summaryrefslogtreecommitdiff
path: root/src/tool_vms.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2013-02-06 04:51:55 +0100
committerYang Tse <yangsita@gmail.com>2013-02-06 04:51:55 +0100
commit453e821ad74a042da0373ebb4716708529834071 (patch)
tree116ff416b00cc5afe00cdd039b37c46444e15470 /src/tool_vms.h
parente0c491026faa40d94d330f8809b0fbd70168a32f (diff)
downloadcurl-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.h7
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);