diff options
| author | Juanma Barranquero | 2010-07-25 02:20:51 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-07-25 02:20:51 +0200 |
| commit | 361358ea12271d5d747773a2d1ba743ee9516745 (patch) | |
| tree | cee5bc68721bbe0be71359d7368439aa3df092b6 /src/ChangeLog | |
| parent | 12a251254bbeb759a7e717ce0f68038a0bd03723 (diff) | |
| download | emacs-361358ea12271d5d747773a2d1ba743ee9516745.tar.gz emacs-361358ea12271d5d747773a2d1ba743ee9516745.zip | |
Make building under stricter warning flags somewhat cleaner.
Flags used: -Wold-style-declaration -Wunused-function -Wstrict-prototypes
* lib-src/emacsclient.c (getcwd, w32_getenv):
* lib-src/ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
* nt/runemacs.c (set_user_model_id): Fix prototype.
* src/callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT.
* src/dired.c (opendir, readdir): Fix prototypes.
* src/editfns.c (w32_get_internal_run_time): Fix prototypes.
* src/keyboard.c (input_available_signal): Declare inside #ifdef SIGIO.
* src/ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes.
(telldir): Remove declaration.
* src/ralloc.c (real_morecore, __morecore): Fix prototypes.
* src/sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA.
* src/syssignal.h (strsignal): Fix prototype.
* src/term.c (tparam): Fix prototype.
(term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1)
(term_get_fkeys): Set inside "#ifndef DOS_NT".
* src/vm-limit.c (check_memory_limits): Fix prototypes of real_morecore
and __morecore.
* src/w32gui.h (XParseGeometry): Fix prototype.
* src/w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes.
* src/w32term.c (my_set_focus): Declare inside #if 0.
* src/w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init)
(w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit)
(drain_message_queue, get_next_msg, post_msg, parse_button)
(ClipboardSequence_Proc): Fix prototypes.
(wait_for_sync): Remove declaration.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7234b4f843e..339e7b2beb2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2010-07-25 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * callproc.c (relocate_fd): Set inside #ifndef WINDOWSNT. | ||
| 4 | * dired.c (opendir, readdir): Fix prototypes. | ||
| 5 | * editfns.c (w32_get_internal_run_time): Fix prototypes. | ||
| 6 | * keyboard.c (input_available_signal): Declare inside #ifdef SIGIO. | ||
| 7 | * ndir.h (opendir, readdir, seekdir, closedir): Fix prototypes. | ||
| 8 | (telldir): Remove declaration. | ||
| 9 | * ralloc.c (real_morecore, __morecore): Fix prototypes. | ||
| 10 | * sound.c (alsa_sound_perror): Declare inside #ifdef HAVE_ALSA. | ||
| 11 | * syssignal.h (strsignal): Fix prototype. | ||
| 12 | * term.c (tparam): Fix prototype. | ||
| 13 | (term_get_fkeys_address, term_get_fkeys_kboard, term_get_fkeys_1) | ||
| 14 | (term_get_fkeys): Set inside "#ifndef DOS_NT". | ||
| 15 | * vm-limit.c (check_memory_limits): Fix prototypes of real_morecore | ||
| 16 | and __morecore. | ||
| 17 | * w32gui.h (XParseGeometry): Fix prototype. | ||
| 18 | * w32heap.h (get_data_start, get_data_end, init_heap): Fix prototypes. | ||
| 19 | * w32term.c (my_set_focus): Declare inside #if 0. | ||
| 20 | * w32term.h (x_window_to_frame, x_display_info_for_name, w32_term_init) | ||
| 21 | (w32_fill_rect, w32_clear_window, init_crit, delete_crit, signal_quit) | ||
| 22 | (drain_message_queue, get_next_msg, post_msg, parse_button) | ||
| 23 | (ClipboardSequence_Proc): Fix prototypes. | ||
| 24 | (wait_for_sync): Remove declaration. | ||
| 25 | |||
| 1 | 2010-07-24 Juanma Barranquero <lekktu@gmail.com> | 26 | 2010-07-24 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 27 | ||
| 3 | * w32fns.c (w32_to_x_color): Remove, unused. | 28 | * w32fns.c (w32_to_x_color): Remove, unused. |