aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2005-09-27 18:48:59 +0000
committerDan Nicolaescu2005-09-27 18:48:59 +0000
commit43f15d4afee5beaaec7a2e8dc8b11ea2f9e3daea (patch)
treec6f0878596c767986ddbb28fabb0a5fff22c5774 /src
parentd1b76779461cfe78c0a1b436899cebc3e5e0f253 (diff)
downloademacs-43f15d4afee5beaaec7a2e8dc8b11ea2f9e3daea.tar.gz
emacs-43f15d4afee5beaaec7a2e8dc8b11ea2f9e3daea.zip
* 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/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
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 @@
12005-09-27 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * xfaces.c (lookup_derived_face): Add parameter type.
4
5 * xdisp.c (cursor_row_fully_visible_p): Add parameter type.
6
7 * marker.c (verify_bytepos): Add parameter type.
8
9 * process.c (get_operating_system_release): Move prototype ...
10
11 * systime.h (get_operating_system_release): ... here.
12
13 * xterm.c (set_vertical_scroll_bar): Move prototype ...
14
15 * xterm.h: ... here.
16
17 * fns.c (internal_equal, seed_random): Fix prototypes.
18 (internal_equal): Add missing parameter.
19
12005-09-25 Richard M. Stallman <rms@gnu.org> 202005-09-25 Richard M. Stallman <rms@gnu.org>
2 21
3 * keyboard.c (update_menu_bindings): Variable deleted. 22 * 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;
77 77
78extern Lisp_Object Qinput_method_function; 78extern Lisp_Object Qinput_method_function;
79 79
80static int internal_equal (); 80static int internal_equal P_ ((Lisp_Object , Lisp_Object, int, int));
81 81
82extern long get_random (); 82extern long get_random ();
83extern void seed_random (); 83extern void seed_random P_ ((long));
84 84
85#ifndef HAVE_UNISTD_H 85#ifndef HAVE_UNISTD_H
86extern long time (); 86extern long time ();
@@ -2250,7 +2250,7 @@ internal_equal (o1, o2, depth, props)
2250 if (!internal_equal (OVERLAY_START (o1), OVERLAY_START (o2), 2250 if (!internal_equal (OVERLAY_START (o1), OVERLAY_START (o2),
2251 depth + 1, props) 2251 depth + 1, props)
2252 || !internal_equal (OVERLAY_END (o1), OVERLAY_END (o2), 2252 || !internal_equal (OVERLAY_END (o1), OVERLAY_END (o2),
2253 depth + 1)) 2253 depth + 1, props))
2254 return 0; 2254 return 0;
2255 o1 = XOVERLAY (o1)->plist; 2255 o1 = XOVERLAY (o1)->plist;
2256 o2 = XOVERLAY (o2)->plist; 2256 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)
256 256
257int 257int
258verify_bytepos (charpos) 258verify_bytepos (charpos)
259 int charpos;
259{ 260{
260 int below = 1; 261 int below = 1;
261 int below_byte = 1; 262 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;
187 187
188#include "syswait.h" 188#include "syswait.h"
189 189
190extern void set_waiting_for_input P_ ((EMACS_TIME *));
191extern char *get_operating_system_release (); 190extern char *get_operating_system_release ();
192 191
193#ifndef USE_CRT_DLL 192#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;
154 154
155extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME)); 155extern int set_file_times __P ((const char *, EMACS_TIME, EMACS_TIME));
156 156
157/* defined in keyboard.c */
158extern void set_waiting_for_input __P ((EMACS_TIME *));
159
157/* Compare times T1 and T2. Value is 0 if T1 and T2 are the same. 160/* Compare times T1 and T2. Value is 0 if T1 and T2 are the same.
158 Value is < 0 if T1 is less than T2. Value is > 0 otherwise. */ 161 Value is < 0 if T1 is less than T2. Value is > 0 otherwise. */
159 162
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
11375cursor_row_fully_visible_p (w, force_p, current_matrix_p) 11375cursor_row_fully_visible_p (w, force_p, current_matrix_p)
11376 struct window *w; 11376 struct window *w;
11377 int force_p; 11377 int force_p;
11378 int current_matrix_p;
11378{ 11379{
11379 struct glyph_matrix *matrix; 11380 struct glyph_matrix *matrix;
11380 struct glyph_row *row; 11381 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)
5810 Lisp_Object symbol; 5810 Lisp_Object symbol;
5811 int c; 5811 int c;
5812 int face_id; 5812 int face_id;
5813 int signal_p;
5813{ 5814{
5814 Lisp_Object attrs[LFACE_VECTOR_SIZE]; 5815 Lisp_Object attrs[LFACE_VECTOR_SIZE];
5815 Lisp_Object symbol_attrs[LFACE_VECTOR_SIZE]; 5816 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;
4024 4024
4025static Boolean xaw3d_pick_top; 4025static Boolean xaw3d_pick_top;
4026 4026
4027extern void set_vertical_scroll_bar P_ ((struct window *));
4028
4029/* Action hook installed via XtAppAddActionHook when toolkit scroll 4027/* Action hook installed via XtAppAddActionHook when toolkit scroll
4030 bars are used.. The hook is responsible for detecting when 4028 bars are used.. The hook is responsible for detecting when
4031 the user ends an interaction with the scroll bar, and generates 4029 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;
1003extern void x_query_colors P_ ((struct frame *f, XColor *, int)); 1003extern void x_query_colors P_ ((struct frame *f, XColor *, int));
1004extern void x_query_color P_ ((struct frame *f, XColor *)); 1004extern void x_query_color P_ ((struct frame *f, XColor *));
1005extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int)); 1005extern void x_clear_area P_ ((Display *, Window, int, int, int, int, int));
1006extern void set_vertical_scroll_bar P_ ((struct window *));
1006 1007
1007extern int x_dispatch_event P_ ((XEvent *, Display *)); 1008extern int x_dispatch_event P_ ((XEvent *, Display *));
1008 1009