propername: do not mark proper_name with the const attribute
authorJim Meyering <meyering@redhat.com>
Mon, 28 Nov 2011 09:24:04 +0000 (10:24 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 28 Nov 2011 09:26:12 +0000 (10:26 +0100)
commit69f517e5975418e7b2c5033f8f60191919f44b9d
tree74fc87a3dd87c3c72a53dbf57c297fdfa0d6643d
parentb6656e88f137483b7407053679870618af180de7
propername: do not mark proper_name with the const attribute

* lib/propername.h (proper_name): Do *not* mark as _GL_ATTRIBUTE_CONST,
since it examines data pointed to by its parameter.
* lib/propername.c (proper_name): Instead, add a pragma to suppress
the suggestion from -Wsuggest-attribute=const.
ChangeLog
lib/propername.c
lib/propername.h