bits/utmpx.h: __ in front of e_exit and e_termination

Mark Kettenis kettenis@phys.uva.nl
Sun Dec 6 05:01:00 GMT 1998


   From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
   Date: Sat, 5 Dec 1998 13:40:46 +0100

   Hi,

   ssh-1.2.26 will no longer compile because of this. Is this really
   correct? If so at least bits/utmp.h should be changed too I think.

It is needed to be name-space clean.  AFAIK HP-UX does the same.  I
didn't change bits/utmp.h because there is no standard that specifies
the contents of utmp.h.

We could provide a 

#define e_exit __e_exit
#define e_termination __e_termination

when the user selects some _XXX_SOURCE feature select macro, but I
couldn't think of a reasonable set to add it to.

Mark




More information about the Libc-hacker mailing list