]> Savannah Git Hosting - gnulib.git/commit
localename: avoid -Wsuggest-attribute={const,pure} warnings
authorAssaf Gordon <assafgordon@gmail.com>
Thu, 10 Jul 2014 18:42:02 +0000 (19:42 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 10 Jul 2014 19:11:33 +0000 (20:11 +0100)
commitcfd8172b77120cb7002907af99e33af882097fc6
tree7b163213530c47e20d9c081f65fd9c60157440cd
parentb5c3f721fa5beaf6f49da5229d562844a12de370
localename: avoid -Wsuggest-attribute={const,pure} warnings

* lib/localename.c (string_has): Tag internal function as pure.
* lib/localename.h (gl_locale_name_default): Tag extern declaration
as const when appropriate.
ChangeLog
lib/localename.c
lib/localename.h