1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

* 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.
This commit is contained in:
Dan Nicolaescu 2005-09-27 18:48:59 +00:00
parent d1b7677946
commit 43f15d4afe
11 changed files with 37 additions and 6 deletions

View File

@ -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

View File

@ -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;

View File

@ -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.

View File

@ -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;

View File

@ -256,6 +256,7 @@ buf_charpos_to_bytepos (b, charpos)
int
verify_bytepos (charpos)
int charpos;
{
int below = 1;
int below_byte = 1;

View File

@ -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

View File

@ -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. */

View File

@ -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;

View File

@ -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];

View File

@ -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

View File

@ -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 *));