aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-09 21:00:36 -0800
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:25 +0200
commit0f089824eedf91df21d1786abc2961247ba8efb7 (patch)
treeb8e46426c58b23bb54024f51be87ed82aea7e362 /nx-X11/lib/X11
parent02dad70a8dc920d25aa1c9b61a343310fe112e5b (diff)
downloadnx-libs-0f089824eedf91df21d1786abc2961247ba8efb7.tar.gz
nx-libs-0f089824eedf91df21d1786abc2961247ba8efb7.tar.bz2
nx-libs-0f089824eedf91df21d1786abc2961247ba8efb7.zip
XlcSL.c: convert old-style function definitions to ANSI C89 style
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/XlcSL.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nx-X11/lib/X11/XlcSL.c b/nx-X11/lib/X11/XlcSL.c
index 526f677fb..f059bb34d 100644
--- a/nx-X11/lib/X11/XlcSL.c
+++ b/nx-X11/lib/X11/XlcSL.c
@@ -71,8 +71,7 @@ extern XIM _XDefaultOpenIM(
);
Bool
-_XInitDefaultIM(lcd)
-XLCd lcd;
+_XInitDefaultIM(XLCd lcd)
{
if(lcd == (XLCd)NULL)
return False;
@@ -88,8 +87,7 @@ extern XOM _XDefaultOpenOM(
);
Bool
-_XInitDefaultOM(lcd)
- XLCd lcd;
+_XInitDefaultOM(XLCd lcd)
{
lcd->methods->open_om = _XDefaultOpenOM;
return True;