From d603d7d7d989c4ff1094810e9fcf2a29bc00bb0c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 8 May 2016 09:19:33 +0100 Subject: Kill off Time_t macro Analogous to previous commit, including the megacommit that removed the need for it. Signed-off-by: Emil Velikov Reviewed-by: Adam Jackson Reviewed-by: Eric Engestrom (IRC) --- src/authutil.c | 5 ++--- src/iceauth.c | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src') 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 #include -#define Time_t time_t #ifndef X_NOT_POSIX #include #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 #include -#define Time_t time_t #ifdef HAVE_LIBBSD #include /* for arc4random_buf() */ -- cgit v1.2.3