From c5caf981467709eecedc4bd22a84e1ed29d097e1 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 24 Sep 2005 20:37:14 +0000 Subject: [PATCH] Fix the return type for x_clear_errors and x_uncatch_errors. --- lwlib/ChangeLog | 5 +++++ lwlib/xlwmenu.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 4ce570b989c..b0708be5f87 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -1,3 +1,8 @@ +2005-09-24 Dan Nicolaescu + + * xlwmenu.c: Fix the return type for x_clear_errors and + x_uncatch_errors. + 2005-07-19 Jan Dj,Ad(Brv * lwlib-Xm.c (make_menu_in_widget): Disable drag and drop for diff --git a/lwlib/xlwmenu.c b/lwlib/xlwmenu.c index f1ee1b68e9b..80ca418bf52 100644 --- a/lwlib/xlwmenu.c +++ b/lwlib/xlwmenu.c @@ -59,9 +59,9 @@ extern int x_alloc_lighter_color_for_widget __P ((Widget, Display*, Colormap, unsigned long *, double, int)); extern int x_catch_errors __P ((Display*)); -extern int x_uncatch_errors __P ((Display*, int)); +extern void x_uncatch_errors P_ ((Display *, int)); extern int x_had_errors_p __P ((Display*)); -extern int x_clear_errors __P ((Display*)); +extern void x_clear_errors __P ((Display*)); extern unsigned long x_copy_dpy_color __P ((Display *, Colormap, unsigned long)); -- 2.39.2