summaryrefslogtreecommitdiff
path: root/src/character.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-07-09 09:38:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-07-09 09:38:45 -0700
commit5994c1836bc3c2457aa1e27c1191bf03a9be1721 (patch)
tree7aee5e4d288885098634f9356a485b1908a48775 /src/character.h
parent26bccfaebf452511a06c2b19414a73b041b17853 (diff)
downloademacs-5994c1836bc3c2457aa1e27c1191bf03a9be1721.tar.gz
Add GCC-style 'const' attribute to functions that can use it.
Diffstat (limited to 'src/character.h')
-rw-r--r--src/character.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.h b/src/character.h
index a64b48d896c..2cfeff85fee 100644
--- a/src/character.h
+++ b/src/character.h
@@ -665,7 +665,7 @@ typedef enum {
UNICODE_CATEGORY_Cn
} unicode_category_t;
-extern EMACS_INT char_resolve_modifier_mask (EMACS_INT);
+extern EMACS_INT char_resolve_modifier_mask (EMACS_INT) ATTRIBUTE_CONST;
extern int char_string (unsigned, unsigned char *);
extern int string_char (const unsigned char *,
const unsigned char **, int *);