diff options
Diffstat (limited to 'src/GetValues.c')
-rw-r--r-- | src/GetValues.c | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/src/GetValues.c b/src/GetValues.c index 19131f7..0434500 100644 --- a/src/GetValues.c +++ b/src/GetValues.c @@ -59,19 +59,17 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ +/* $XFree86: xc/lib/Xt/GetValues.c,v 1.3 2001/12/14 19:56:16 dawes Exp $ */ #include "IntrinsicI.h" #include "StringDefs.h" -extern void _XtCopyToArg(); -extern XrmResourceList* _XtCreateIndirectionTable(); - -static int GetValues(base, res, num_resources, args, num_args) - char* base; /* Base address to fetch values from */ - XrmResourceList* res; /* The current resource values. */ - register Cardinal num_resources; /* number of items in resources */ - ArgList args; /* The resource values requested */ - Cardinal num_args; /* number of items in arg list */ +static int GetValues( + char* base, /* Base address to fetch values from */ + XrmResourceList* res, /* The current resource values. */ + register Cardinal num_resources, /* number of items in resources */ + ArgList args, /* The resource values requested */ + Cardinal num_args) /* number of items in arg list */ { register ArgList arg; register int i; @@ -122,11 +120,11 @@ static int GetValues(base, res, num_resources, args, num_args) return translation_arg_num; } /* GetValues */ -static void CallGetValuesHook(widget_class, w, args, num_args) - WidgetClass widget_class; - Widget w; - ArgList args; - Cardinal num_args; +static void CallGetValuesHook( + WidgetClass widget_class, + Widget w, + ArgList args, + Cardinal num_args) { WidgetClass superclass; XtArgsProc get_values_hook; @@ -146,11 +144,11 @@ static void CallGetValuesHook(widget_class, w, args, num_args) -static void CallConstraintGetValuesHook(widget_class, w, args, num_args) - WidgetClass widget_class; - Widget w; - ArgList args; - Cardinal num_args; +static void CallConstraintGetValuesHook( + WidgetClass widget_class, + Widget w, + ArgList args, + Cardinal num_args) { ConstraintClassExtension ext; |