diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 12:02:01 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 12:02:01 -0800 |
commit | ee6eed4ace4c0dac1928428eaca2ba3e96a35bcf (patch) | |
tree | aea91af9033bed03cb6b14e245ecb6edc315a3c6 /b4light.c | |
parent | 4f7fff260d15b6b6c2b069644eb3875cba8e859d (diff) |
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 <alan.coopersmith@oracle.com>
Diffstat (limited to 'b4light.c')
-rw-r--r-- | b4light.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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); |