summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar/calendar.h
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2002-06-13 21:20:56 +0000
committergrog <grog@FreeBSD.org>2002-06-13 21:20:56 +0000
commitfb4608bacb1fa1b6e9fdd02c47d034721446b29f (patch)
tree81000a9a25491407feed68f791095ce654acdc77 /usr.bin/calendar/calendar.h
parent0c70e00d001ba34a2608c2b21750c330782350bd (diff)
downloadFreeBSD-src-fb4608bacb1fa1b6e9fdd02c47d034721446b29f.zip
FreeBSD-src-fb4608bacb1fa1b6e9fdd02c47d034721446b29f.tar.gz
Add two new options:
-W is like -A (number of days in the future to consider, but also specifies that we don't want special treatment at weekends. -F changes our notion of "Friday" (the day before the weekend). Arguably, calendar(1) is broken to have special treatment of weekends by default, but this method maintains POLA.
Diffstat (limited to 'usr.bin/calendar/calendar.h')
-rw-r--r--usr.bin/calendar/calendar.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/calendar/calendar.h b/usr.bin/calendar/calendar.h
index 08cbb94..0dbd376 100644
--- a/usr.bin/calendar/calendar.h
+++ b/usr.bin/calendar/calendar.h
@@ -67,6 +67,7 @@ void setnnames(void);
extern int f_dayAfter; /* days after current date */
extern int f_dayBefore; /* days bevore current date */
+extern int Friday; /* day before weekend */
struct fixs {
char *name;
OpenPOWER on IntegriCloud