From: deraadt Date: Mon, 19 Jan 2015 01:05:32 +0000 (+0000) Subject: If UID_MAX is not defined, this should fail to compile. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3faad7f70a2b32bb348963a3a7b4a0582f3785b4;p=openbsd If UID_MAX is not defined, this should fail to compile. ok guenther --- 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 @@ -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. */