diff options
| author | Eli Zaretskii | 2010-08-13 14:09:51 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-08-13 14:09:51 +0300 |
| commit | 9dec0f7642296c34dfd3700c6094808ce6ed289e (patch) | |
| tree | 0b0f87d6c22ed0b2e49cdf7e4db2466573c42b00 /src/ChangeLog | |
| parent | 186a9cbb9d4e7e9fd74249501ce6838442c7c11a (diff) | |
| parent | 8ee818927b65c6efa665e5ba13d25f985721de04 (diff) | |
| download | emacs-9dec0f7642296c34dfd3700c6094808ce6ed289e.tar.gz emacs-9dec0f7642296c34dfd3700c6094808ce6ed289e.zip | |
Fix compilation of xmenu.c and unexcoff.c, clean up MSDOS source files.
unexcoff.c: Remove the parts used when "emacs" is not defined.
(report_error, report_error_1): Ditto.
(write_segment): Remove "#if 0" unused code.
(make_hdr): Remove code that was "#ifndef NO_REMAP" before
NO_REMAP was removed (in 2010-07-29T03:25:08Z!dann@ics.uci.edu).
(start_of_text): Remove unused function (was used only if NO_REMAP
was NOT defined).
msdos.c (IT_set_face): Fix format string to match argument
types.
(IT_write_glyphs, IT_note_mode_line_highlight)
(IT_set_frame_parameters): Remove unused variables.
(x_set_menu_bar_lines): Declare set_menu_bar_lines.
(IT_set_terminal_modes): Disambiguate expression in if clause.
(Fmsdos_remember_default_colors): Return Qnil.
(IT_set_frame_parameters): Add parens to disambiguate boolean
expression for logging the cursor type to termscript.
(keyboard_layout_list, keypad_translate_map)
(grey_key_translate_map): Add braces in inner initializers.
(dos_rawgetc): Add parens in condition for mouse-3 button-press.
(dos_rawgetc): Remove unused label.
(XMenuActivate): Add braces to remove ambiguous `else'.
(dos_ttraw): Always return a value.
(spawnve): Declare.
(run_msdos_command): Cast 3rd arg of spawnve to "char **".
dosfns.h (x_set_title): Declare.
w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data):
Remove unused variables.
dosfns.c (Fint86, Fdos_memget, Fdos_memput): Remove unused
variables.
(init_dosfns): Declare get_lim_data.
(system_process_attributes): Declare Fget_internal_run_time.
xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Fix argument
list to be consistent with menu.h.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 9c004656124..024cf18efb6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,44 @@ | |||
| 1 | 2010-08-13 Eli Zaretskii <eliz@gnu.org> | 1 | 2010-08-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * unexcoff.c: Remove the parts used when "emacs" is not defined. | ||
| 4 | (report_error, report_error_1): Ditto. | ||
| 5 | (write_segment): Remove "#if 0" unused code. | ||
| 6 | (make_hdr): Remove code that was "#ifndef NO_REMAP" before | ||
| 7 | NO_REMAP was removed (in 2010-07-29T03:25:08Z!dann@ics.uci.edu). | ||
| 8 | (start_of_text): Remove unused function (was used only if NO_REMAP | ||
| 9 | was NOT defined). | ||
| 10 | |||
| 11 | * msdos.c (IT_set_face): Fix format string to match argument | ||
| 12 | types. | ||
| 13 | (IT_write_glyphs, IT_note_mode_line_highlight) | ||
| 14 | (IT_set_frame_parameters): Remove unused variables. | ||
| 15 | (x_set_menu_bar_lines): Declare set_menu_bar_lines. | ||
| 16 | (IT_set_terminal_modes): Disambiguate expression in if clause. | ||
| 17 | (Fmsdos_remember_default_colors): Return Qnil. | ||
| 18 | (IT_set_frame_parameters): Add parens to disambiguate boolean | ||
| 19 | expression for logging the cursor type to termscript. | ||
| 20 | (keyboard_layout_list, keypad_translate_map) | ||
| 21 | (grey_key_translate_map): Add braces in inner initializers. | ||
| 22 | (dos_rawgetc): Add parens in condition for mouse-3 button-press. | ||
| 23 | (dos_rawgetc): Remove unused label. | ||
| 24 | (XMenuActivate): Add braces to remove ambiguous `else'. | ||
| 25 | (dos_ttraw): Always return a value. | ||
| 26 | (spawnve): Declare. | ||
| 27 | (run_msdos_command): Cast 3rd arg of spawnve to "char **". | ||
| 28 | |||
| 29 | * dosfns.h (x_set_title): Declare. | ||
| 30 | |||
| 31 | * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data): | ||
| 32 | Remove unused variables. | ||
| 33 | |||
| 34 | * dosfns.c (Fint86, Fdos_memget, Fdos_memput): Remove unused | ||
| 35 | variables. | ||
| 36 | (init_dosfns): Declare get_lim_data. | ||
| 37 | (system_process_attributes): Declare Fget_internal_run_time. | ||
| 38 | |||
| 39 | * xmenu.c (xmenu_show) [!USE_X_TOOLKIT && !USE_GTK]: Fix argument | ||
| 40 | list to be consistent with menu.h. | ||
| 41 | |||
| 3 | * w32menu.c (add_menu_item, name_is_separator): Shut up compiler | 42 | * w32menu.c (add_menu_item, name_is_separator): Shut up compiler |
| 4 | warnings due to mixing of "char *" and "const char *". | 43 | warnings due to mixing of "char *" and "const char *". |
| 5 | 44 | ||