From ee6eed4ace4c0dac1928428eaca2ba3e96a35bcf Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 8 Dec 2022 12:02:01 -0800 Subject: Drop X_NOT_POSIX support It was only used to determine if time() took a time_t pointer or an int pointer as it's argument, and ANSI/ISO C have required a time_t since C89, so we rely on that. Signed-off-by: Alan Coopersmith --- b4light.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/b4light.c b/b4light.c index c867665..b942cd9 100644 --- a/b4light.c +++ b/b4light.c @@ -287,11 +287,7 @@ main(int argc, char *argv[]) unsigned int w, h, b, d; Status s; -#if !defined(X_NOT_POSIX) srand((int)time((time_t *)NULL)); -#else - srand((int)time((int *)NULL)); -#endif toplevel = XtAppInitialize (&app_con, "Beforelight", NULL, ZERO, &argc, argv, NULL, NULL, ZERO); -- cgit v1.2.3