From: Jim Meyering Date: Mon, 28 Nov 2011 08:39:34 +0000 (+0100) Subject: propername: mark one more function as const X-Git-Tag: v0.1~1397 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=b6656e88f137483b7407053679870618af180de7;p=gnulib.git propername: mark one more function as const * lib/propername.h (proper_name): Mark as _GL_ATTRIBUTE_CONST. --- diff --git a/ChangeLog b/ChangeLog index ba43f79f7..fe8f9d175 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-11-28 Jim Meyering + + propername: mark one more function as const + * lib/propername.h (proper_name): Mark as _GL_ATTRIBUTE_CONST. + 2011-11-27 Jim Meyering mark functions with const and pure attributes diff --git a/lib/propername.h b/lib/propername.h index a4eac0100..014153282 100644 --- a/lib/propername.h +++ b/lib/propername.h @@ -89,7 +89,7 @@ extern "C" { #endif /* Return the localization of NAME. NAME is written in ASCII. */ -extern const char * proper_name (const char *name) /* NOT PURE */; +extern const char * proper_name (const char *name) _GL_ATTRIBUTE_CONST; /* Return the localization of a name whose original writing is not ASCII. NAME_UTF8 is the real name, written in UTF-8 with octal or hexadecimal