summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-19 01:05:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-19 01:05:33 +0000
commit124b6dca871776b4973ca03edbc1e0e585f3638e (patch)
tree974388c29cf4a057df128910eb5cb35d7d94d289
parent1e3a0625c6906ba581f53bac854b184b7808fead (diff)
If UID_MAX is not defined, this should fail to compile.
ok guenther
-rw-r--r--usr.sbin/cron/atrun.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.sbin/cron/atrun.c b/usr.sbin/cron/atrun.c
index 99be7e09611..5a573d9415a 100644
--- a/usr.sbin/cron/atrun.c
+++ b/usr.sbin/cron/atrun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atrun.c,v 1.23 2015/01/14 17:30:53 millert Exp $ */
+/* $OpenBSD: atrun.c,v 1.24 2015/01/19 01:05:32 deraadt Exp $ */
/*
* Copyright (c) 2002-2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -27,13 +27,6 @@
static void unlink_job(at_db *, atjob *);
static void run_job(atjob *, char *);
-#ifndef UID_MAX
-#define UID_MAX INT_MAX
-#endif
-#ifndef GID_MAX
-#define GID_MAX INT_MAX
-#endif
-
/*
* Scan the at jobs dir and build up a list of jobs found.
*/