summaryrefslogtreecommitdiffstats
path: root/lib/libc/time/wcsftime.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2015-02-09 13:32:51 +0000
committertedu <tedu@openbsd.org>2015-02-09 13:32:51 +0000
commita9cc4792617d499e1b9008630579042be8896f03 (patch)
treebe606ee4fe5fa07615a3d4bbede1d00b52ca94fe /lib/libc/time/wcsftime.c
parenttrim down some of the ifndef redefine madness (diff)
downloadwireguard-openbsd-a9cc4792617d499e1b9008630579042be8896f03.tar.xz
wireguard-openbsd-a9cc4792617d499e1b9008630579042be8896f03.zip
move include lines around a bit
Diffstat (limited to 'lib/libc/time/wcsftime.c')
-rw-r--r--lib/libc/time/wcsftime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/time/wcsftime.c b/lib/libc/time/wcsftime.c
index 21ccac704df..2affa52a01e 100644
--- a/lib/libc/time/wcsftime.c
+++ b/lib/libc/time/wcsftime.c
@@ -1,6 +1,4 @@
-/* $OpenBSD: wcsftime.c,v 1.3 2014/05/06 15:49:45 tedu Exp $ */
-#include "private.h"
-
+/* $OpenBSD: wcsftime.c,v 1.4 2015/02/09 13:32:51 tedu Exp $ */
/*
** Based on the UCB version with the ID appearing below.
** This is ANSIish only when "multibyte character == plain character".
@@ -33,11 +31,13 @@
** SUCH DAMAGE.
*/
-#include "tzfile.h"
-#include "fcntl.h"
+#include <fcntl.h>
#include <locale.h>
#include <wchar.h>
+#include "private.h"
+#include "tzfile.h"
+
struct lc_time_T {
const wchar_t * mon[MONSPERYEAR];
const wchar_t * month[MONSPERYEAR];