summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/macros.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-02-20 20:38:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-02-20 20:38:09 +0000
commitbcbf9fadd55567efe030f79b158f7967f71fcef1 (patch)
treec5aaeed1ba6c1bc82073717a2f3e982c7a9e80ee /usr.sbin/cron/macros.h
parent52cb8765cd31b1d97e7380effb1cf9b7e5bbd118 (diff)
Sync with ISC cron-current + my at(1) integration.
The at(1) code is now more tightly integrated into the cron codebase.
Diffstat (limited to 'usr.sbin/cron/macros.h')
-rw-r--r--usr.sbin/cron/macros.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/usr.sbin/cron/macros.h b/usr.sbin/cron/macros.h
index 452334c0ec2..959a6d3cffc 100644
--- a/usr.sbin/cron/macros.h
+++ b/usr.sbin/cron/macros.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: macros.h,v 1.3 2002/07/15 19:13:29 millert Exp $ */
+/* $OpenBSD: macros.h,v 1.4 2003/02/20 20:38:08 millert Exp $ */
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
@@ -94,14 +94,14 @@
}
/* Data values used on cron socket */
-#define RELOAD_CRON 0x2
-#define RELOAD_AT 0x4
+#define RELOAD_CRON 0x2
+#define RELOAD_AT 0x4
#ifdef HAVE_TM_GMTOFF
-#define get_gmtoff(c, t) (t->tm_gmtoff)
+#define get_gmtoff(c, t) ((t)->tm_gmtoff)
#endif
-#define SECONDS_PER_MINUTE 60
+#define SECONDS_PER_MINUTE 60
#define FIRST_MINUTE 0
#define LAST_MINUTE 59
@@ -123,9 +123,3 @@
#define FIRST_DOW 0
#define LAST_DOW 7
#define DOW_COUNT (LAST_DOW - FIRST_DOW + 1)
-
- /* each user's crontab will be held as a list of
- * the following structure.
- *
- * These are the cron commands.
- */