From 59dc68faa78dec63442cac781f3a7baa21e85911 Mon Sep 17 00:00:00 2001 From: swick Date: Mon, 9 Oct 1989 13:38:15 +0000 Subject: copyright. --- xc/lib/Xt/VarCreate.c | 46 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 11 deletions(-) (limited to 'xc/lib') diff --git a/xc/lib/Xt/VarCreate.c b/xc/lib/Xt/VarCreate.c index 63026a9d1..e642a7aeb 100644 --- a/xc/lib/Xt/VarCreate.c +++ b/xc/lib/Xt/VarCreate.c @@ -1,10 +1,34 @@ +/* $XConsortium: copyright.h,v 1.4 89/07/25 16:12:03 rws Exp $ */ +#ifndef lint +static char Xrcsid[] = "$XConsortium: Intrinsic.c,v 1.138 89/10/08 18:23:06 jim Exp $"; +#endif + +/* + +Copyright 1985, 1986, 1987, 1988, 1989 by the +Massachusetts Institute of Technology + +Permission to use, copy, modify, and distribute this +software and its documentation for any purpose and without +fee is hereby granted, provided that the above copyright +notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting +documentation, and that the name of M.I.T. not be used in +advertising or publicity pertaining to distribution of the +software without specific, written prior permission. +M.I.T. makes no representations about the suitability of +this software for any purpose. It is provided "as is" +without express or implied warranty. + +*/ + #include "VarargsI.h" #include "StringDefs.h" static Widget -_XtVaCreateWidget(name, widgetClass, parent, var) +_XtVaCreateWidget(name, widget_class, parent, var) String name; - WidgetClass widgetClass; + WidgetClass widget_class; Widget parent; va_list var; { @@ -14,7 +38,7 @@ _XtVaCreateWidget(name, widgetClass, parent, var) XtVaToTypedArgList(var, &typed_args, &num_args); - widget = _XtCreateWidget(name, widgetClass, parent, (ArgList)NULL, + widget = _XtCreateWidget(name, widget_class, parent, (ArgList)NULL, (Cardinal)0, typed_args, num_args); if (typed_args != NULL) { @@ -26,13 +50,13 @@ _XtVaCreateWidget(name, widgetClass, parent, var) Widget -XtVaCreateWidget(String name, WidgetClass widgetClass, Widget parent, ...) +XtVaCreateWidget(String name, WidgetClass widget_class, Widget parent, ...) { va_list var; register Widget widget; va_start(var,parent); - widget = _XtVaCreateWidget(name, widgetClass, parent, var); + widget = _XtVaCreateWidget(name, widget_class, parent, var); va_end(var); return(widget); @@ -40,13 +64,13 @@ XtVaCreateWidget(String name, WidgetClass widgetClass, Widget parent, ...) Widget -XtVaCreateManagedWidget(String name, WidgetClass widgetClass, Widget parent, ...) +XtVaCreateManagedWidget(String name, WidgetClass widget_class, Widget parent, ...) { va_list var; register Widget widget; va_start(var,parent); - widget = _XtVaCreateWidget(name, widgetClass, parent, var); + widget = _XtVaCreateWidget(name, widget_class, parent, var); XtManageChild(widget); va_end(var); @@ -55,7 +79,7 @@ XtVaCreateManagedWidget(String name, WidgetClass widgetClass, Widget parent, ... Widget -XtVaAppCreateShell(String name, String class, WidgetClass widgetClass, Display* display, ...) +XtVaAppCreateShell(String name, String class, WidgetClass widget_class, Display* display, ...) { va_list var; register Widget widget; @@ -65,7 +89,7 @@ XtVaAppCreateShell(String name, String class, WidgetClass widgetClass, Display* va_start(var,display); XtVaToTypedArgList(var, &typed_args, &num_args); - widget = _XtAppCreateShell(name, class, widgetClass, display, + widget = _XtAppCreateShell(name, class, widget_class, display, (ArgList)NULL, (Cardinal)0, typed_args, num_args); if (typed_args != NULL) { XtFree((char *)typed_args); @@ -77,7 +101,7 @@ XtVaAppCreateShell(String name, String class, WidgetClass widgetClass, Display* Widget -XtVaCreatePopupShell(String name, WidgetClass widgetClass, Widget parent, ...) +XtVaCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ...) { va_list var; register Widget widget; @@ -87,7 +111,7 @@ XtVaCreatePopupShell(String name, WidgetClass widgetClass, Widget parent, ...) va_start(var,parent); XtVaToTypedArgList(var, &typed_args, &num_args); - widget = _XtCreatePopupShell(name, widgetClass, parent, + widget = _XtCreatePopupShell(name, widget_class, parent, (ArgList)NULL, (Cardinal)0, typed_args, num_args); if (typed_args != NULL) { XtFree((char *)typed_args); -- cgit v1.2.3