summaryrefslogtreecommitdiffstats
path: root/lib/libc/time
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2016-05-23 00:05:15 +0000
committerguenther <guenther@openbsd.org>2016-05-23 00:05:15 +0000
commit558b4987cd4826b6cffb224fe684d5f8c1cda3f8 (patch)
treee277ff1ae2e373b8fec213ae499a6b328622c5af /lib/libc/time
parentAdd XOR cookies for r1 (stack) and lr. Switch from calling obsolete (diff)
downloadwireguard-openbsd-558b4987cd4826b6cffb224fe684d5f8c1cda3f8.tar.xz
wireguard-openbsd-558b4987cd4826b6cffb224fe684d5f8c1cda3f8.zip
Stop exposing <sys/localedef.h> and various symbols internal to the libc
locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime ok millert@ schwarze@ deraadt@
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/strptime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/time/strptime.c b/lib/libc/time/strptime.c
index fe78b476b98..2932575860d 100644
--- a/lib/libc/time/strptime.c
+++ b/lib/libc/time/strptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strptime.c,v 1.21 2015/09/12 14:35:40 guenther Exp $ */
+/* $OpenBSD: strptime.c,v 1.22 2016/05/23 00:05:15 guenther Exp $ */
/* $NetBSD: strptime.c,v 1.12 1998/01/20 21:39:40 mycroft Exp $ */
/*-
* Copyright (c) 1997, 1998, 2005, 2008 The NetBSD Foundation, Inc.
@@ -28,12 +28,12 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/localedef.h>
#include <ctype.h>
#include <locale.h>
#include <string.h>
#include <time.h>
+#include "localedef.h"
#include "private.h"
#include "tzfile.h"