summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2011-10-10 13:53:24 +0000
committerajacoutot <ajacoutot@openbsd.org>2011-10-10 13:53:24 +0000
commitf01507d5cfddad53ce9891a8a2a4608aba029a6b (patch)
tree2223ca8ba8a98b1e92a96d2c269b0c5a53bdc587 /lib
parentadd tlphy everywhere tl is enabled (diff)
downloadwireguard-openbsd-f01507d5cfddad53ce9891a8a2a4608aba029a6b.tar.xz
wireguard-openbsd-f01507d5cfddad53ce9891a8a2a4608aba029a6b.zip
Stop defining XPG4_1994_04_09.
As kettenis@ pointed at, http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html has the following: The Open Group Corrigendum U033/8 is applied. The %V conversion specifier is changed from "Otherwise, it is week 53 of the previous year, and the next week is week 1" to "Otherwise, it is the last week of the previous year, and the next week is week 1". In effect, strftime(3) with the "%V" format will now return "52" instead of "53" for days in January before the first Monday, when January 1st falls on a Friday, Saturday, or Sunday. ok kettenis@ millert@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/time/private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/time/private.h b/lib/libc/time/private.h
index e9d3104714d..4f97473ba6e 100644
--- a/lib/libc/time/private.h
+++ b/lib/libc/time/private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: private.h,v 1.23 2011/07/01 13:34:18 millert Exp $ */
+/* $OpenBSD: private.h,v 1.24 2011/10/10 13:53:24 ajacoutot Exp $ */
#ifndef PRIVATE_H
#define PRIVATE_H
@@ -12,7 +12,6 @@
#define TM_GMTOFF tm_gmtoff
#define TM_ZONE tm_zone
#define PCTS 1
-#define XPG4_1994_04_09 1
#define ALL_STATE 1
#define STD_INSPIRED 1
#define HAVE_STRERROR 1