mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Remove testonly
keyword
This commit is contained in:
parent
9be364d40a
commit
d721ff8938
31 changed files with 78 additions and 94 deletions
|
@ -28,7 +28,7 @@ textstartup static void strftime_test_init(void) {
|
|||
}
|
||||
const void *const strftime_test_ctor[] initarray = {strftime_test_init};
|
||||
|
||||
testonly char *FormatTime(const char *fmt, struct tm *tm) {
|
||||
char *FormatTime(const char *fmt, struct tm *tm) {
|
||||
static char buf[64];
|
||||
strftime(buf, sizeof(buf), fmt, tm);
|
||||
return &buf[0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue