summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/authutil.c5
-rw-r--r--src/iceauth.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/src/authutil.c b/src/authutil.c
index ca0504a..29072d5 100644
--- a/src/authutil.c
+++ b/src/authutil.c
@@ -38,7 +38,6 @@ Author: Ralph Mor, X Consortium
#include <limits.h>
#include <time.h>
-#define Time_t time_t
#ifndef X_NOT_POSIX
#include <unistd.h>
#else
@@ -139,7 +138,7 @@ IceLockAuthFile (
{
char creat_name[1025], link_name[1025];
struct stat statb;
- Time_t now;
+ time_t now;
int creat_fd = -1;
if ((int) strlen (file_name) > 1022)
@@ -150,7 +149,7 @@ IceLockAuthFile (
if (stat (creat_name, &statb) != -1)
{
- now = time ((Time_t *) 0);
+ now = time ((time_t *) 0);
/*
* NFS may cause ctime to be before now, special
diff --git a/src/iceauth.c b/src/iceauth.c
index de4785b..7e25148 100644
--- a/src/iceauth.c
+++ b/src/iceauth.c
@@ -34,7 +34,6 @@ Author: Ralph Mor, X Consortium
#include <X11/ICE/ICEutil.h>
#include <time.h>
-#define Time_t time_t
#ifdef HAVE_LIBBSD
#include <bsd/stdlib.h> /* for arc4random_buf() */