On 09 Feb 2022 18:58, Jeff Law wrote: > I've had this lying around for probably a year or two at this point.   > It just changes all the instance of "errno" from a common symbol to an > extern.  I can't offhand recall where the actual definition is, but it > certainly exists in the generic code. > > --- a/libgloss/v850/_exit.c > +++ b/libgloss/v850/_exit.c > @@ -3,7 +3,7 @@ > #include > #include "sys/syscall.h" > > -int errno; > +extern int errno; why not just include errno.h ? using `extern int errno;` is so pre-2000 :p. -mike