diff options
-rw-r--r-- | include/wchar.h | 4 | ||||
-rw-r--r-- | lib/libc/time/Makefile.inc | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/wchar.h b/include/wchar.h index 5570a34284d..a631fb0bd68 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.20 2011/10/16 13:20:51 stsp Exp $ */ +/* $OpenBSD: wchar.h,v 1.21 2011/10/16 13:22:06 stsp Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -156,6 +156,8 @@ int wcsncasecmp(const wchar_t *, const wchar_t *, size_t); #if __ISO_C_VISIBLE >= 1999 float wcstof(const wchar_t * __restrict, wchar_t ** __restrict); long double wcstold(const wchar_t * __restrict, wchar_t ** __restrict); +size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t *__restrict, + const struct tm *__restrict); #endif #if (defined(__GNUC__) && __GNUC__ >= 2 && !defined(__STRICT_ANSI__)) || \ diff --git a/lib/libc/time/Makefile.inc b/lib/libc/time/Makefile.inc index 23824f49dd3..c1cc4c5b2f7 100644 --- a/lib/libc/time/Makefile.inc +++ b/lib/libc/time/Makefile.inc @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile.inc,v 1.8 2000/08/22 16:19:50 millert Exp $ +# $OpenBSD: Makefile.inc,v 1.9 2011/10/16 13:22:06 stsp Exp $ .PATH: ${LIBCSRCDIR}/time -SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c -MAN+= ctime.3 strftime.3 time2posix.3 tzfile.5 tzset.3 strptime.3 +SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c wcsftime.c +MAN+= ctime.3 strftime.3 time2posix.3 tzfile.5 tzset.3 strptime.3 wcsftime.3 MLINKS+=ctime.3 asctime.3 ctime.3 difftime.3 ctime.3 gmtime.3 \ |