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

Ulrich Drepper drepper@redhat.com
Mon Feb 14 23:24: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.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20050214/43b4c883/attachment.sig>


More information about the Libc-alpha mailing list