curl-library
Re: VMS fixes needed to allow building
From: Tor Arntsen <kspt.tor_at_gmail.com>
Date: Wed, 13 Mar 2013 16:13:53 +0100
Date: Wed, 13 Mar 2013 16:13:53 +0100
On 13 March 2013 15:55, Tom Grace <Thomas.Grace_at_amdocs.com> wrote:
> so is the recommendation? one “extern int vms_show = 0;”
>
> and multiple “extern int vms_show”
There should be one
int vms_show = 0;
in one file, and
extern int vms_show;
in all files. Usually the latter is achieved by having extern int
vms_show; in a header file and including it in the necessary .c files
(and in exactly one of them you put the 'int vms_show=0;')
-Tor
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-13