summaryrefslogtreecommitdiff
path: root/src/xlibi18n/lcPubWrap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlibi18n/lcPubWrap.c')
-rw-r--r--src/xlibi18n/lcPubWrap.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/xlibi18n/lcPubWrap.c b/src/xlibi18n/lcPubWrap.c
index f9eeb24..936005c 100644
--- a/src/xlibi18n/lcPubWrap.c
+++ b/src/xlibi18n/lcPubWrap.c
@@ -23,19 +23,13 @@
* Author: Katsuhisa Yano TOSHIBA Corp.
* mopi@osa.ilab.toshiba.co.jp
*/
+/* $XFree86: xc/lib/X11/lcPubWrap.c,v 1.5 2001/07/25 15:04:45 dawes Exp $ */
#include "Xlibint.h"
#include "XlcPubI.h"
-#if NeedVarargsPrototypes
char *
_XGetLCValues(XLCd lcd, ...)
-#else
-char *
-_XGetLCValues(lcd, va_alist)
- XLCd lcd;
- va_dcl
-#endif
{
va_list var;
XlcArgList args;
@@ -43,11 +37,11 @@ _XGetLCValues(lcd, va_alist)
int num_args;
XLCdPublicMethodsPart *methods = XLC_PUBLIC_METHODS(lcd);
- Va_start(var, lcd);
+ va_start(var, lcd);
_XlcCountVaList(var, &num_args);
va_end(var);
- Va_start(var, lcd);
+ va_start(var, lcd);
_XlcVaToArgList(var, num_args, &args);
va_end(var);
@@ -62,8 +56,8 @@ _XGetLCValues(lcd, va_alist)
}
void
-_XlcDestroyLC(lcd)
- XLCd lcd;
+_XlcDestroyLC(
+ XLCd lcd)
{
XLCdPublicMethods methods = (XLCdPublicMethods) lcd->methods;
@@ -71,9 +65,9 @@ _XlcDestroyLC(lcd)
}
XLCd
-_XlcCreateLC(name, methods)
- char *name;
- XLCdMethods methods;
+_XlcCreateLC(
+ const char *name,
+ XLCdMethods methods)
{
XLCdPublicMethods pub_methods = (XLCdPublicMethods) methods;
XLCd lcd;