aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2012-07-09 09:38:45 -0700
committerPaul Eggert2012-07-09 09:38:45 -0700
commit5994c1836bc3c2457aa1e27c1191bf03a9be1721 (patch)
tree7aee5e4d288885098634f9356a485b1908a48775 /lib-src
parent26bccfaebf452511a06c2b19414a73b041b17853 (diff)
downloademacs-5994c1836bc3c2457aa1e27c1191bf03a9be1721.tar.gz
emacs-5994c1836bc3c2457aa1e27c1191bf03a9be1721.zip
Add GCC-style 'const' attribute to functions that can use it.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/etags.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index e2eb418327e..bc7c5d7114d 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,8 @@
12012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2
3 Add GCC-style 'const' attribute to functions that can use it.
4 * etags.c (number_len): Add ATTRIBUTE_CONST.
5
12012-07-09 Juanma Barranquero <lekktu@gmail.com> 62012-07-09 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler. 8 * emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 5bdf3402e55..7141811239f 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -2123,7 +2123,7 @@ invalidate_nodes (fdesc *badfdp, node **npp)
2123 2123
2124 2124
2125static int total_size_of_entries (node *); 2125static int total_size_of_entries (node *);
2126static int number_len (long); 2126static int number_len (long) ATTRIBUTE_CONST;
2127 2127
2128/* Length of a non-negative number's decimal representation. */ 2128/* Length of a non-negative number's decimal representation. */
2129static int 2129static int