summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lwlib/ChangeLog6
-rw-r--r--lwlib/xlwmenu.c2
-rw-r--r--src/ChangeLog19
-rw-r--r--src/fns.c6
-rw-r--r--src/marker.c1
-rw-r--r--src/process.c1
-rw-r--r--src/systime.h3
-rw-r--r--src/xdisp.c1
-rw-r--r--src/xfaces.c1
-rw-r--r--src/xterm.c2
-rw-r--r--src/xterm.h1
11 files changed, 37 insertions, 6 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index b0708be5f87..de7c73e0d05 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -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
diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c
index 80ca418bf52..1f6cad8d3f2 100644
--- a/lwlib/xlwmenu.c
+++ b/lwlib/xlwmenu.c
@@ -2138,6 +2138,7 @@ static widget_value *
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 @@ static widget_value *
find_prev_selectable (mw, item, skip_titles)
XlwMenuWidget mw;
widget_value *item;
+ int skip_titles;
{
widget_value *current = item;
widget_value *prev = item;
diff --git a/src/ChangeLog b/src/ChangeLog
index 1bfc0ad9d62..6d79f99acb4 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 *));