summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-03-17 20:32:25 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-03-17 20:32:25 +0000
commit4bc93313335f55da63e8431a396d65a1115c8e49 (patch)
tree4dc4b40c3abbeb0df6175dda9c7256e44a626a6c
parentc133bf70e69202ea5ba5636a5279cd4512e5fc29 (diff)
-rw-r--r--Clock.c5
-rw-r--r--Clock.h2
-rw-r--r--ClockP.h2
-rw-r--r--XClock-color.ad2
-rw-r--r--xclock.c7
-rw-r--r--xclock.man2
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 <X11/Xlib.h>
#include <X11/StringDefs.h>
@@ -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 <stdio.h>
#include <stdlib.h>
@@ -89,13 +89,14 @@ static Atom wm_delete_window;
static void
Syntax(char *call)
{
- (void) printf ("Usage: %s [-analog] [-bw <pixels>] [-digital] [-brief] [-utime] [-strftime <fmt-str>]\n", call);
+ (void) printf ("Usage: %s [-analog] [-bw <pixels>] [-digital] [-brief]\n", call);
+ (void) printf (" [-utime] [-strftime <fmt-str>]\n");
(void) printf (" [-fg <color>] [-bg <color>] [-hd <color>]\n");
(void) printf (" [-hl <color>] [-bd <color>]\n");
(void) printf (" [-fn <font_name>] [-help] [-padding <pixels>]\n");
(void) printf (" [-rv] [-update <seconds>] [-display displayname]\n");
#ifdef XRENDER
- (void) printf (" [-render] [-face <face name>] [-sharp]\n");
+ (void) printf (" [-[no]render] [-face <face name>] [-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