From 453e821ad74a042da0373ebb4716708529834071 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 6 Feb 2013 04:51:55 +0100 Subject: vms_show: post VMS patch cleanup - II - remove multiple declarations of vms_show and add comments --- src/tool_vms.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/tool_vms.h') 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); -- cgit v1.2.3