[PATCH] Small fix for misc/sys/syslog.h

GOTO Masanori gotom@debian.or.jp
Tue Feb 15 00:51:00 GMT 2005


At Mon, 14 Feb 2005 15:51:40 -0800,
Ulrich Drepper wrote:
> Roland McGrath wrote:
> > You really think #define SYSLOG_NAMES is used by more than one or two things?
> > I won't make this change on the stable branch, but it seems fine for the trunk.
> 
> For exactly the same reason it is not worth the trouble.

It's sure "some BSD did it" does not make sense.  Including syslog.h
warns "discarding qualifiers" with gcc -Wwrite-strings option (I
confirmed with gcc 2.95).  I also think changing const is appropriate
as Roland said.

Regards,
-- gotom




More information about the Libc-alpha mailing list