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

Roland McGrath roland@redhat.com
Mon Feb 14 22:45:00 GMT 2005


> GOTO Masanori wrote:
> > This patches does one modification and fixes one typo.  The type of
> > c_name in struct _code should be const char * for prioritynames
> > meanings - recent BSDs are also modified likewise.
> 
> What is the motivation for this change?  Saying "some bsd did it"
> certainly isn't sufficient.

The type is only used for the constant table, and the pointers always point
to string constants.  const is appropriate.



More information about the Libc-alpha mailing list