diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-02-21 21:08:27 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2005-02-21 21:08:27 +0000 |
commit | 85eb751e4e1683af6cee3ee9dce29f74911a639d (patch) | |
tree | b40f699ee646462a8f223b919ba68dda1d8fc371 /src/ClickTime.c | |
parent | 94150cb72d9d641c64325cd70323d93b9a3701a5 (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/ClickTime.c')
-rw-r--r-- | src/ClickTime.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ClickTime.c b/src/ClickTime.c index 807134f..9472330 100644 --- a/src/ClickTime.c +++ b/src/ClickTime.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 @@ -59,15 +59,15 @@ in this Software without prior written authorization from The Open Group. */ -/* +/* * Contains XtSetMultiClickTime, XtGetMultiClickTime */ #include "IntrinsicI.h" -void XtSetMultiClickTime( dpy, time ) - Display *dpy; - int time; +void XtSetMultiClickTime( + Display *dpy, + int time) { DPY_TO_APPCON(dpy); @@ -77,8 +77,8 @@ void XtSetMultiClickTime( dpy, time ) } -int XtGetMultiClickTime( dpy ) - Display *dpy; +int XtGetMultiClickTime( + Display *dpy) { int retval; DPY_TO_APPCON(dpy); |