Mercurial > hg > octave-kai > gnulib-hg
changeset 16129:5595ced97d38
propername: mark one more function as const
* lib/propername.h (proper_name): Mark as _GL_ATTRIBUTE_CONST.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 28 Nov 2011 09:39:34 +0100 |
parents | 6beadb731202 |
children | 376ca4146b05 |
files | ChangeLog lib/propername.h |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-11-28 Jim Meyering <meyering@redhat.com> + + propername: mark one more function as const + * lib/propername.h (proper_name): Mark as _GL_ATTRIBUTE_CONST. + 2011-11-27 Jim Meyering <meyering@redhat.com> mark functions with const and pure attributes
--- a/lib/propername.h +++ b/lib/propername.h @@ -89,7 +89,7 @@ #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