From e5fc5fe356dde6039587d6f5a27775e8645d75c5 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 14 Mar 2008 00:07:20 -0300 Subject: [PATCH] libXaw ansification. Fixed function without arguments with an emtpy prototype, and one old style function definition. --- src/OS.c | 2 +- src/XawIm.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/OS.c b/src/OS.c index ec80e63..5801aeb 100644 --- a/src/OS.c +++ b/src/OS.c @@ -29,7 +29,7 @@ #endif int -_XawGetPageSize() +_XawGetPageSize(void) { static int pagesize = -1; diff --git a/src/XawIm.c b/src/XawIm.c index 24b647d..24a6078 100644 --- a/src/XawIm.c +++ b/src/XawIm.c @@ -180,8 +180,7 @@ static XtResource resources[] = #undef Offset -static VendorShellWidget SearchVendorShell( w ) - Widget w; +static VendorShellWidget SearchVendorShell(Widget w) { while(w && !XtIsShell(w)) w = XtParent(w); if (w && XtIsVendorShell(w)) return((VendorShellWidget)w); -- 1.5.3.2