diff options
| author | Paul Eggert | 2013-10-16 23:42:21 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-10-16 23:42:21 -0700 |
| commit | 3d798ba7dbad4bac02226959cfd82099bf11fd9f (patch) | |
| tree | a498f5f85e4b65a4e6b20b470834a304ee127d9e /src/ChangeLog | |
| parent | 921c1d62980fe93d4c26d6aeae0ef2a81a752b11 (diff) | |
| download | emacs-3d798ba7dbad4bac02226959cfd82099bf11fd9f.tar.gz emacs-3d798ba7dbad4bac02226959cfd82099bf11fd9f.zip | |
Make some functions static in non-Microsoft builds.
On my platform (Fedora 19 x86-64), this shrinks the
Emacs executable (text+data) by 0.25%.
* dispextern.h (erase_phys_cursor) [!WINDOWSNT]:
(load_color) [!MSDOS]:
* gnutls.h (emacs_gnutls_transport_set_errno) [!WINDOWSNT]:
* keyboard.h (make_ctrl_char) [!WINDOWSNT]:
* lisp.h (check_existing):
* process.h (conv_sockaddr_to_lisp, network_interface_list)
(network_interface_info) [!WINDOWSNT]:
* termhooks.h (encode_terminal_code) [!WINDOWSNT]:
Remove extern decls.
* fileio.c (check_existing):
* keyboard.c (make_ctrl_char) [!WINDOWSNT]:
* process.c (conv_sockaddr_to_lisp, network_interface_list)
(network_interface_info) [!WINDOWSNT]:
* term.c (encode_terminal_code) [!WINDOWSNT]:
* xdisp.c (erase_phys_cursor) [!WINDOWSNT]:
* xfaces.c (load_color) [!MSDOS]:
Now static.
* fileio.c (check_existing, check_executable, check_writable):
* process.c (network_interface_list, network_interface_info):
Move earlier, so that we don't need forward decls.
* gnutls.c (fn_gnutls_transport_set_errno)
(emacs_gnutls_transport_set_errno) [!WINDOWNT]:
Remove; unused.
* w32.c (init_environment): Use faccessat rather than
check_existing, partly for consistency with the rest of the code
in this file, partly so that check_existing can be static.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f95ee3384bf..a0df4425844 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,35 @@ | |||
| 1 | 2013-10-17 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-10-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Make some functions static in non-Microsoft builds. | ||
| 4 | On my platform (Fedora 19 x86-64), this shrinks the | ||
| 5 | Emacs executable (text+data) by 0.25%. | ||
| 6 | * dispextern.h (erase_phys_cursor) [!WINDOWSNT]: | ||
| 7 | (load_color) [!MSDOS]: | ||
| 8 | * gnutls.h (emacs_gnutls_transport_set_errno) [!WINDOWSNT]: | ||
| 9 | * keyboard.h (make_ctrl_char) [!WINDOWSNT]: | ||
| 10 | * lisp.h (check_existing): | ||
| 11 | * process.h (conv_sockaddr_to_lisp, network_interface_list) | ||
| 12 | (network_interface_info) [!WINDOWSNT]: | ||
| 13 | * termhooks.h (encode_terminal_code) [!WINDOWSNT]: | ||
| 14 | Remove extern decls. | ||
| 15 | * fileio.c (check_existing): | ||
| 16 | * keyboard.c (make_ctrl_char) [!WINDOWSNT]: | ||
| 17 | * process.c (conv_sockaddr_to_lisp, network_interface_list) | ||
| 18 | (network_interface_info) [!WINDOWSNT]: | ||
| 19 | * term.c (encode_terminal_code) [!WINDOWSNT]: | ||
| 20 | * xdisp.c (erase_phys_cursor) [!WINDOWSNT]: | ||
| 21 | * xfaces.c (load_color) [!MSDOS]: | ||
| 22 | Now static. | ||
| 23 | * fileio.c (check_existing, check_executable, check_writable): | ||
| 24 | * process.c (network_interface_list, network_interface_info): | ||
| 25 | Move earlier, so that we don't need forward decls. | ||
| 26 | * gnutls.c (fn_gnutls_transport_set_errno) | ||
| 27 | (emacs_gnutls_transport_set_errno) [!WINDOWNT]: | ||
| 28 | Remove; unused. | ||
| 29 | * w32.c (init_environment): Use faccessat rather than | ||
| 30 | check_existing, partly for consistency with the rest of the code | ||
| 31 | in this file, partly so that check_existing can be static. | ||
| 32 | |||
| 3 | Make VALMASK visible to GDB even if clang is used (Bug#15574). | 33 | Make VALMASK visible to GDB even if clang is used (Bug#15574). |
| 4 | * emacs.c (MAIN_PROGRAM): New macro. | 34 | * emacs.c (MAIN_PROGRAM): New macro. |
| 5 | * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): New macros. | 35 | * lisp.h (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END): New macros. |