summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2020-08-28 16:29:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2020-08-28 16:29:17 +0000
commit4e8411100235854d65f0eb90ad1b09da7610b41e (patch)
tree57ee6f5ca048ae756e94831f2b08f17045040f2a /usr.bin/awk/awk.h
parent63332380ad76c1a3962d9533d28f8ff3c19842b8 (diff)
Implement mktime() function for compatibility with mawk and gawk.
This is the only missing time function compared to those two implementations. Doc changes OK jmc@
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index 68e03a809c6..25dfec2fcc4 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.26 2020/06/26 15:57:39 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.27 2020/08/28 16:29:16 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -160,6 +160,7 @@ extern Cell *symtabloc; /* SYMTAB */
#define FRSHIFT 20
#define FSYSTIME 21
#define FSTRFTIME 22
+#define FMKTIME 23
/* Node: parse tree is made of nodes, with Cell's at bottom */