diff options
| author | Paul Eggert | 2012-07-09 09:38:45 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-07-09 09:38:45 -0700 |
| commit | 5994c1836bc3c2457aa1e27c1191bf03a9be1721 (patch) | |
| tree | 7aee5e4d288885098634f9356a485b1908a48775 /src/ChangeLog | |
| parent | 26bccfaebf452511a06c2b19414a73b041b17853 (diff) | |
| download | emacs-5994c1836bc3c2457aa1e27c1191bf03a9be1721.tar.gz emacs-5994c1836bc3c2457aa1e27c1191bf03a9be1721.zip | |
Add GCC-style 'const' attribute to functions that can use it.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d5a8abe5c56..2f8dfbdedf3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,19 @@ | |||
| 1 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-07-09 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Add GCC-style 'const' attribute to functions that can use it. | ||
| 4 | * character.h (char_resolve_modifier_mask): | ||
| 5 | * keyboard.h (make_ctrl_char): | ||
| 6 | * lisp.h (multibyte_char_to_unibyte, multibyte_char_to_unibyte_safe) | ||
| 7 | (init_character_once, next_almost_prime, init_fns, init_image) | ||
| 8 | (flush_pending_output, init_sound): | ||
| 9 | * mem-limits.h (start_of_data): | ||
| 10 | * menu.h (finish_menu_items): | ||
| 11 | Add ATTRIBUTE_CONST. | ||
| 12 | * emacs.c (DEFINE_DUMMY_FUNCTION): | ||
| 13 | Declare the dummy function with ATTRIBUTE_CONST. | ||
| 14 | * lisp.h (Fbyteorder, Fmax_char, Fidentity): | ||
| 15 | Add decls with ATTRIBUTE_CONST. | ||
| 16 | |||
| 3 | Minor improvements to make_formatted_string. | 17 | Minor improvements to make_formatted_string. |
| 4 | * alloc.c (make_formatted_string): Prefer int to ptrdiff_t | 18 | * alloc.c (make_formatted_string): Prefer int to ptrdiff_t |
| 5 | where int is good enough, as vsprintf returns an int. | 19 | where int is good enough, as vsprintf returns an int. |