Added working ctime() to the build.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8325 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-07-05 22:43:39 +00:00
parent f5a134ac42
commit 41b2bdc260
2 changed files with 15 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@ SubDir OBOS_TOP src kernel libroot posix time ;
KernelMergeObject posix_time.o :
<$(SOURCE_GRIST)>asctime.c
<$(SOURCE_GRIST)>ctime.c
<$(SOURCE_GRIST)>localtime.c
<$(SOURCE_GRIST)>mktime.c
<$(SOURCE_GRIST)>time.c
+14
View File
@@ -0,0 +1,14 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#include <time.h>
char *
ctime(const time_t *_timer)
{
return asctime(localtime(_timer));
}