summaryrefslogtreecommitdiff
path: root/src/Constraint.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-02-21 21:08:27 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-02-21 21:08:27 +0000
commit85eb751e4e1683af6cee3ee9dce29f74911a639d (patch)
treeb40f699ee646462a8f223b919ba68dda1d8fc371 /src/Constraint.c
parent94150cb72d9d641c64325cd70323d93b9a3701a5 (diff)
Convert lib/Xt to ANSI C (Thomas Dickey). Fixes for a few valgrind warningsXORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1
(Thomas Dickey).
Diffstat (limited to 'src/Constraint.c')
-rw-r--r--src/Constraint.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/Constraint.c b/src/Constraint.c
index 459e078..e8ef7f3 100644
--- a/src/Constraint.c
+++ b/src/Constraint.c
@@ -6,13 +6,13 @@ Copyright 1993 by Sun Microsystems, Inc. Mountain View CA.
All Rights Reserved
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
+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
+both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or Sun not be
used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
+software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -74,7 +74,7 @@ externaldef(constraintclassrec) ConstraintClassRec constraintClassRec = {
/* class_part_initialize*/ ConstraintPartInitialize,
/* class_inited */ FALSE,
/* initialize */ NULL,
- /* initialize_hook */ NULL,
+ /* initialize_hook */ NULL,
/* realize */ XtInheritRealize,
/* actions */ NULL,
/* num_actions */ 0,
@@ -89,9 +89,9 @@ externaldef(constraintclassrec) ConstraintClassRec constraintClassRec = {
/* resize */ NULL,
/* expose */ NULL,
/* set_values */ NULL,
- /* set_values_hook */ NULL,
- /* set_values_almost */ XtInheritSetValuesAlmost,
- /* get_values_hook */ NULL,
+ /* set_values_hook */ NULL,
+ /* set_values_almost */ XtInheritSetValuesAlmost,
+ /* get_values_hook */ NULL,
/* accept_focus */ NULL,
/* version */ XtVersion,
/* callback_offsets */ NULL,
@@ -120,8 +120,7 @@ externaldef(constraintwidgetclass) WidgetClass constraintWidgetClass =
(WidgetClass) &constraintClassRec;
-static void ConstraintPartInitialize(wc)
- WidgetClass wc;
+static void ConstraintPartInitialize(WidgetClass wc)
{
ConstraintWidgetClass cwc = (ConstraintWidgetClass)wc;
if (cwc->constraint_class.resources)