projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390x: add single instruction fma and fmaf
[musl]
/
src
/
time
/
strftime.c
diff --git
a/src/time/strftime.c
b/src/time/strftime.c
index
5d2484e
..
cc53d53
100644
(file)
--- a/
src/time/strftime.c
+++ b/
src/time/strftime.c
@@
-6,11
+6,8
@@
#include <time.h>
#include <limits.h>
#include "locale_impl.h"
#include <time.h>
#include <limits.h>
#include "locale_impl.h"
-#include "libc.h"
#include "time_impl.h"
#include "time_impl.h"
-char *__nl_langinfo_l(nl_item, locale_t);
-
static int is_leap(int y)
{
/* Avoid overflow */
static int is_leap(int y)
{
/* Avoid overflow */
@@
-45,9
+42,6
@@
static int week_num(const struct tm *tm)
return val;
}
return val;
}
-const char *__tm_to_tzname(const struct tm *);
-size_t __strftime_l(char *restrict, size_t, const char *restrict, const struct tm *restrict, locale_t);
-
const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc, int pad)
{
nl_item item;
const char *__strftime_fmt_1(char (*s)[100], size_t *l, int f, const struct tm *tm, locale_t loc, int pad)
{
nl_item item;