This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Add wrappers for ExitProcess, TerminateProcess
Dave Korn wrote:
> Wouldn't see any need to move the declaration any; just think that there
> should be one unique extern declaration and it should be in a common header
> that can be #included both where the var is declared and where it is referenced.
Well, the variable IS a global, shared by exceptions.cc and pinfo.cc,
and explicitly stated to be global in the ChangeLog:
2005-09-19 Christopher Faylor
* exceptions.cc (sigExeced): New global variable.
By moving the definition to globals.cc, we get its extern declaration in
the autogenerated globals.h -- which everybody includes via winsup.h.
--
Chuck