[PATCH] Small fix for misc/sys/syslog.h
Roland McGrath
roland@redhat.com
Mon Feb 14 23:53:00 GMT 2005
> Roland McGrath wrote:
> > The type is only used for the constant table, and the pointers always point
> > to string constants. const is appropriate.
>
> Yes, it's appropriate when creating the interface from scratch. But it
> might cause problems compiling programs, even breaking the compilation
> if -Werror is used.
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.
More information about the Libc-alpha
mailing list