summaryrefslogtreecommitdiff
path: root/src/iceauth.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:46 +0000
commit72e353567f8927996a26e72848d86f692c3f0737 (patch)
treeb8a8241378b752cbc7ef7041ac8100fedc7239c4 /src/iceauth.c
parentee452992357329f7af846eba8f5bbe61c5d27bfa (diff)
Diffstat (limited to 'src/iceauth.c')
-rw-r--r--src/iceauth.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/iceauth.c b/src/iceauth.c
index 4556b9a..d03cf25 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -26,18 +26,14 @@ in this Software without prior written authorization from The Open Group.
Author: Ralph Mor, X Consortium
******************************************************************************/
+/* $XFree86: xc/lib/ICE/iceauth.c,v 3.6 2002/05/31 18:45:41 dawes Exp $ */
#include <X11/ICE/ICElib.h>
#include "ICElibint.h"
#include <X11/ICE/ICEutil.h>
-#ifdef X_NOT_STDC_ENV
-#define Time_t long
-extern Time_t time ();
-#else
#include <time.h>
#define Time_t time_t
-#endif
static int binaryEqual ();
@@ -73,8 +69,9 @@ int len;
}
#else
{
+#ifndef __UNIXOS2__
long time ();
-
+#endif
ldata[0] = time ((long *) 0);
ldata[1] = getpid ();
}