summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-19 01:05:32 +0000
committerderaadt <deraadt@openbsd.org>2015-01-19 01:05:32 +0000
commit3faad7f70a2b32bb348963a3a7b4a0582f3785b4 (patch)
tree91ab6f25a1df78eb6fa15496b8c296fea8900c08
parentnormalize formatting (diff)
downloadwireguard-openbsd-3faad7f70a2b32bb348963a3a7b4a0582f3785b4.tar.xz
wireguard-openbsd-3faad7f70a2b32bb348963a3a7b4a0582f3785b4.zip
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.
*/