Re: nl_langinfo(3) and possibly redundant #include

2011-03-15 Thread Philip Guenther
On Tue, Mar 15, 2011 at 1:26 PM, Andres Perera  wrote:
> which one is at fault? should the man page be corrected or should the
> header not pull nl_types.h?

Header is correct per the standard, so I've deleted the extra #include
from the manpage.  Thanks!


Philip Guenther



nl_langinfo(3) and possibly redundant #include

2011-03-15 Thread Andres Perera
the synopsis section says
 #include 
 #include 

 char *
 nl_langinfo(nl_item item);

however, nl_types.h is included by langinfo.h

which one is at fault? should the man page be corrected or should the
header not pull nl_types.h?