From 4bc93313335f55da63e8431a396d65a1115c8e49 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Wed, 17 Mar 2004 20:32:25 +0000 Subject: merge with XORG-RELEASE-1 (tag XORG-CYGWIN-LAST-MERGE) --- Clock.c | 5 +++-- Clock.h | 2 +- ClockP.h | 2 +- XClock-color.ad | 2 +- xclock.c | 7 ++++--- xclock.man | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Clock.c b/Clock.c index 41c5318..4583f74 100644 --- a/Clock.c +++ b/Clock.c @@ -1,4 +1,5 @@ /* $Xorg: Clock.c,v 1.4 2001/02/09 02:05:39 xorgcvs Exp $ */ +/* $XdotOrg: xc/programs/xclock/Clock.c,v 1.1.4.4.4.1 2004/03/04 17:48:54 eich Exp $ */ /*********************************************************** @@ -46,7 +47,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -/* $XFree86: xc/programs/xclock/Clock.c,v 3.26 2003/10/25 00:52:37 dawes Exp $ */ +/* $XFree86: xc/programs/xclock/Clock.c,v 3.25 2003/07/04 16:24:30 eich Exp $ */ #include #include @@ -82,7 +83,7 @@ SOFTWARE. #define max(a, b) ((a) > (b) ? (a) : (b)) #define min(a, b) ((a) < (b) ? (a) : (b)) -#define abs(a) ((a) < 0 ? -(a) : (a)) +/* #define abs(a) ((a) < 0 ? -(a) : (a)) */ /* Initialization of defaults */ diff --git a/Clock.h b/Clock.h index b209994..cf0744e 100644 --- a/Clock.h +++ b/Clock.h @@ -49,7 +49,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -/* $XFree86: xc/programs/xclock/Clock.h,v 1.12 2002/10/21 13:33:07 alanh Exp $ */ +/* $XFree86: xc/programs/xclock/Clock.h,v 1.11 2002/10/17 01:00:01 dawes Exp $ */ #ifndef _XawClock_h #define _XawClock_h diff --git a/ClockP.h b/ClockP.h index 50fba01..dac30a4 100644 --- a/ClockP.h +++ b/ClockP.h @@ -49,7 +49,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -/* $XFree86: xc/programs/xclock/ClockP.h,v 1.12 2002/10/21 13:33:08 alanh Exp $ */ +/* $XFree86: xc/programs/xclock/ClockP.h,v 1.11 2002/10/17 01:00:01 dawes Exp $ */ #ifndef _XawClockP_h #define _XawClockP_h diff --git a/XClock-color.ad b/XClock-color.ad index 95be6cf..d8acb7e 100644 --- a/XClock-color.ad +++ b/XClock-color.ad @@ -1,4 +1,4 @@ -! $XFree86: xc/programs/xclock/XClk-col.ad,v 1.2 2003/10/24 20:38:15 tsi Exp $ +! $XFree86$ #include "XClock" diff --git a/xclock.c b/xclock.c index 0ad6917..9f637db 100644 --- a/xclock.c +++ b/xclock.c @@ -29,7 +29,7 @@ Except as contained in this notice, the name of The Open Group shall not be 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/programs/xclock/xclock.c,v 1.16 2002/10/21 13:33:08 alanh Exp $ */ +/* $XFree86: xclock.c,v 1.16 2002/10/21 13:33:08 alanh Exp $ */ #include #include @@ -89,13 +89,14 @@ static Atom wm_delete_window; static void Syntax(char *call) { - (void) printf ("Usage: %s [-analog] [-bw ] [-digital] [-brief] [-utime] [-strftime ]\n", call); + (void) printf ("Usage: %s [-analog] [-bw ] [-digital] [-brief]\n", call); + (void) printf (" [-utime] [-strftime ]\n"); (void) printf (" [-fg ] [-bg ] [-hd ]\n"); (void) printf (" [-hl ] [-bd ]\n"); (void) printf (" [-fn ] [-help] [-padding ]\n"); (void) printf (" [-rv] [-update ] [-display displayname]\n"); #ifdef XRENDER - (void) printf (" [-render] [-face ] [-sharp]\n"); + (void) printf (" [-[no]render] [-face ] [-sharp]\n"); #endif (void) printf (" [-geometry geom] [-twelve] [-twentyfour]\n\n"); exit(1); diff --git a/xclock.man b/xclock.man index 4945be1..5b68678 100644 --- a/xclock.man +++ b/xclock.man @@ -23,7 +23,7 @@ .\" other dealings in this Software without prior written authorization .\" from The Open Group. .\" -.\" $XFree86: xc/programs/xclock/xclock.man,v 1.16 2003/07/07 15:34:29 eich Exp $ +.\" $XFree86: xc/programs/xclock/xclock.man,v 1.15 2003/07/04 16:24:30 eich Exp $ .\" .TH XCLOCK 1 __xorgversion__ .SH NAME -- cgit v1.2.3