changeset 65713:ad24f42046b1

* 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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Tue, 27 Sep 2005 18:48:59 +0000
parents 53441b803279
children fbae8bd411de
files lwlib/ChangeLog lwlib/xlwmenu.c src/ChangeLog src/fns.c src/marker.c src/process.c src/systime.h src/xdisp.c src/xfaces.c src/xterm.c src/xterm.h
diffstat 11 files changed, 37 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Tue Sep 27 14:55:31 2005 +0000
+++ b/lwlib/ChangeLog	Tue Sep 27 18:48:59 2005 +0000
@@ -1,3 +1,9 @@
+2005-09-27  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* xlwmenu.c (find_next_selectable): 
+	(find_prev_selectable): Add missing parameter
+	declarations.
+
 2005-09-24  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* xlwmenu.c: Fix the return type for x_clear_errors and
--- a/lwlib/xlwmenu.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/lwlib/xlwmenu.c	Tue Sep 27 18:48:59 2005 +0000
@@ -2138,6 +2138,7 @@
 find_next_selectable (mw, item, skip_titles)
      XlwMenuWidget mw;
      widget_value *item;
+     int skip_titles;
 {
   widget_value *current = item;
   enum menu_separator separator;
@@ -2174,6 +2175,7 @@
 find_prev_selectable (mw, item, skip_titles)
      XlwMenuWidget mw;
      widget_value *item;
+     int skip_titles;
 {
   widget_value *current = item;
   widget_value *prev = item;
--- a/src/ChangeLog	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/ChangeLog	Tue Sep 27 18:48:59 2005 +0000
@@ -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.
--- a/src/fns.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/fns.c	Tue Sep 27 18:48:59 2005 +0000
@@ -77,10 +77,10 @@
 
 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 @@
 	  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;
--- a/src/marker.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/marker.c	Tue Sep 27 18:48:59 2005 +0000
@@ -256,6 +256,7 @@
 
 int
 verify_bytepos (charpos)
+     int charpos;
 {
   int below = 1;
   int below_byte = 1;
--- a/src/process.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/process.c	Tue Sep 27 18:48:59 2005 +0000
@@ -187,7 +187,6 @@
 
 #include "syswait.h"
 
-extern void set_waiting_for_input P_ ((EMACS_TIME *));
 extern char *get_operating_system_release ();
 
 #ifndef USE_CRT_DLL
--- a/src/systime.h	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/systime.h	Tue Sep 27 18:48:59 2005 +0000
@@ -154,6 +154,9 @@
 
 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.  */
 
--- a/src/xdisp.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/xdisp.c	Tue Sep 27 18:48:59 2005 +0000
@@ -11375,6 +11375,7 @@
 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;
--- a/src/xfaces.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/xfaces.c	Tue Sep 27 18:48:59 2005 +0000
@@ -5810,6 +5810,7 @@
      Lisp_Object symbol;
      int c;
      int face_id;
+     int signal_p;
 {
   Lisp_Object attrs[LFACE_VECTOR_SIZE];
   Lisp_Object symbol_attrs[LFACE_VECTOR_SIZE];
--- a/src/xterm.c	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/xterm.c	Tue Sep 27 18:48:59 2005 +0000
@@ -4024,8 +4024,6 @@
 
 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
--- a/src/xterm.h	Tue Sep 27 14:55:31 2005 +0000
+++ b/src/xterm.h	Tue Sep 27 18:48:59 2005 +0000
@@ -1003,6 +1003,7 @@
 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 *));