diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2005-09-27 18:48:59 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2005-09-27 18:48:59 +0000 |
commit | 43f15d4afee5beaaec7a2e8dc8b11ea2f9e3daea (patch) | |
tree | c6f0878596c767986ddbb28fabb0a5fff22c5774 /src | |
parent | d1b76779461cfe78c0a1b436899cebc3e5e0f253 (diff) | |
download | emacs-43f15d4afee5beaaec7a2e8dc8b11ea2f9e3daea.tar.gz |
* xlwmenu.c (find_next_selectable):
(find_prev_selectable): Add missing parameter
declarations.
* xfaces.c (lookup_derived_face): Add parameter type.
* xdisp.c (cursor_row_fully_visible_p): Add parameter type.
* marker.c (verify_bytepos): Add parameter type.
* process.c (get_operating_system_release): Move prototype ...
* systime.h (get_operating_system_release): ... here.
* xterm.c (set_vertical_scroll_bar): Move prototype ...
* xterm.h: ... here.
* fns.c (internal_equal, seed_random): Fix prototypes.
(internal_equal): Add missing parameter.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 19 | ||||
-rw-r--r-- | src/fns.c | 6 | ||||
-rw-r--r-- | src/marker.c | 1 | ||||
-rw-r--r-- | src/process.c | 1 | ||||
-rw-r--r-- | src/systime.h | 3 | ||||
-rw-r--r-- | src/xdisp.c | 1 | ||||
-rw-r--r-- | src/xfaces.c | 1 | ||||
-rw-r--r-- | src/xterm.c | 2 | ||||
-rw-r--r-- | src/xterm.h | 1 |
9 files changed, 29 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 83ff093bfec..caa9cefe376 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,22 @@ +2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> + + * xfaces.c (lookup_derived_face): Add parameter type. + + * xdisp.c (cursor_row_fully_visible_p): Add parameter type. + + * marker.c (verify_bytepos): Add parameter type. + + * process.c (get_operating_system_release): Move prototype ... + + * systime.h (get_operating_system_release): ... here. + + * xterm.c (set_vertical_scroll_bar): Move prototype ... + + * xterm.h: ... here. + + * fns.c (internal_equal, seed_random): Fix prototypes. + (internal_equal): Add missing parameter. + 2005-09-25 Richard M. Stallman <rms@gnu.org> * keyboard.c (update_menu_bindings): Variable deleted. diff --git a/src/fns.c b/src/fns.c index 3c23aef282e..9357fcddab0 100644 --- a/src/fns.c +++ b/src/fns.c @@ -77,10 +77,10 @@ Lisp_Object Qcodeset, Qdays, Qmonths, Qpaper; extern Lisp_Object Qinput_method_function; -static int internal_equal (); +static int internal_equal P_ ((Lisp_Object , Lisp_Object, int, int)); extern long get_random (); -extern void seed_random (); +extern void seed_random P_ ((long)); #ifndef HAVE_UNISTD_H extern long time (); @@ -2250,7 +2250,7 @@ internal_equal (o1, o2, depth, props) if (!internal_equal (OVERLAY_START (o1), OVERLAY_START (o2), depth + 1, props) || !internal_equal (OVERLAY_END (o1), OVERLAY_END (o2), - depth + 1)) + depth + 1, props)) return 0; o1 = XOVERLAY (o1)->plist; o2 = XOVERLAY (o2)->plist; diff --git a/src/marker.c b/src/marker.c index 11b077761e5..36a048537f7 100644 --- a/src/marker.c +++ b/src/marker.c @@ -256,6 +256,7 @@ buf_charpos_to_bytepos (b, charpos) int verify_bytepos (charpos) + int charpos; { int below = 1; int below_byte = 1; diff --git a/src/process.c b/src/process.c index 6f41788a45c..3b01f9fd3e6 100644 --- a/src/process.c +++ b/src/process.c @@ -187,7 +187,6 @@ extern Lisp_Object QCfilter; #include "syswait.h" -extern void set_waiting_for_input P_ ((EMACS_TIME *)); extern char *get_operating_system_release (); #ifndef USE_CRT_DLL diff --git a/src/systime.h b/src/systime.h index 12d8d406d8e..1d0022e93d7 100644 --- a/src/systime.h +++ b/src/systime.h @@ -154,6 +154,9 @@ extern time_t timezone; extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); +/* defined in keyboard.c */ +extern void set_waiting_for_input __P ((EMACS_TIME *)); + /* Compare times T1 and T2. Value is 0 if T1 and T2 are the same. Value is < 0 if T1 is less than T2. Value is > 0 otherwise. */ diff --git a/src/xdisp.c b/src/xdisp.c index 29b75c42e6d..d9d2462d31a 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11375,6 +11375,7 @@ static int cursor_row_fully_visible_p (w, force_p, current_matrix_p) struct window *w; int force_p; + int current_matrix_p; { struct glyph_matrix *matrix; struct glyph_row *row; diff --git a/src/xfaces.c b/src/xfaces.c index 9345af1364a..aa32c84b297 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5810,6 +5810,7 @@ lookup_derived_face (f, symbol, c, face_id, signal_p) Lisp_Object symbol; int c; int face_id; + int signal_p; { Lisp_Object attrs[LFACE_VECTOR_SIZE]; Lisp_Object symbol_attrs[LFACE_VECTOR_SIZE]; diff --git a/src/xterm.c b/src/xterm.c index 9fd511934a6..f02aef0bc5a 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4024,8 +4024,6 @@ static Boolean xaw3d_arrow_scroll; static Boolean xaw3d_pick_top; -extern void set_vertical_scroll_bar P_ ((struct window *)); - /* Action hook installed via XtAppAddActionHook when toolkit scroll bars are used.. The hook is responsible for detecting when the user ends an interaction with the scroll bar, and generates diff --git a/src/xterm.h b/src/xterm.h index 05caedcb9f1..2f9e9b90733 100644 --- a/src/xterm.h +++ b/src/xterm.h @@ -1003,6 +1003,7 @@ extern XtAppContext Xt_app_con; extern void x_query_colors P_ ((struct frame *f, XColor *, int)); extern void x_query_color P_ ((struct frame *f, XColor *)); extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); +extern void set_vertical_scroll_bar P_ ((struct window *)); extern int x_dispatch_event P_ ((XEvent *, Display *)); |