diff options
| author | Dan Nicolaescu | 2010-07-07 22:42:59 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-07 22:42:59 -0700 |
| commit | d8825aa36e51836d75112ebddc93beca9f31185a (patch) | |
| tree | 414c54c083c3312490f1b03113c906d044a9e25f /src | |
| parent | 295d0d8f2008cbd2deb200fc6ecb30d19847f725 (diff) | |
| download | emacs-d8825aa36e51836d75112ebddc93beca9f31185a.tar.gz emacs-d8825aa36e51836d75112ebddc93beca9f31185a.zip | |
Remove alternative K&R declarations.
* lwlib/lwlib.c (allocate_widget_instance, get_widget_info)
(get_widget_instance, find_instance, set_one_value)
(update_one_widget_instance, update_all_widget_values)
(lw_modify_all_widgets, lw_get_widget, lw_make_widget)
(lw_create_widget, lw_pop_all_widgets, lw_show_busy)
(lw_refigure_widget, lw_allow_resizing): Remove alternative K&R
declarations.
* lwlib/lwlib-Xlw.c (xlw_update_one_widget):
(xlw_pop_instance): Likewise.
* lwlib/lwlib-Xaw.c (xaw_update_one_widget, xaw_pop_instance):
Likewise.
* lwlib/lwlib-Xm.c (P_): Remove.
* src/xdisp.c (store_mode_line_noprop_char): Remove K&R alternative declaration.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cdbecfc5455..6daf98787a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2010-07-08 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * xdisp.c (store_mode_line_noprop_char): Remove K&R alternative declaration. | ||
| 4 | |||
| 3 | Clean up include guards. | 5 | Clean up include guards. |
| 4 | * tparam.c: Remove include guards for config.h, string.h and code | 6 | * tparam.c: Remove include guards for config.h, string.h and code |
| 5 | that assumes #ifndef emacs. | 7 | that assumes #ifndef emacs. |
diff --git a/src/xdisp.c b/src/xdisp.c index 545f597e7bc..c2aea3ce0c8 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -9630,12 +9630,7 @@ unwind_format_mode_line (Lisp_Object vector) | |||
| 9630 | Re-allocate mode_line_noprop_buf if necessary. */ | 9630 | Re-allocate mode_line_noprop_buf if necessary. */ |
| 9631 | 9631 | ||
| 9632 | static void | 9632 | static void |
| 9633 | #ifdef PROTOTYPES | ||
| 9634 | store_mode_line_noprop_char (char c) | 9633 | store_mode_line_noprop_char (char c) |
| 9635 | #else | ||
| 9636 | store_mode_line_noprop_char (c) | ||
| 9637 | char c; | ||
| 9638 | #endif | ||
| 9639 | { | 9634 | { |
| 9640 | /* If output position has reached the end of the allocated buffer, | 9635 | /* If output position has reached the end of the allocated buffer, |
| 9641 | double the buffer's size. */ | 9636 | double the buffer's size. */ |