Added empty setlocale() call, just to export it.

Removed unnecessary grist from source files.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8774 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-09-01 14:39:01 +00:00
parent f283d6c99e
commit 9d91354201
2 changed files with 19 additions and 2 deletions
+3 -2
View File
@@ -1,7 +1,8 @@
SubDir OBOS_TOP src kernel libroot posix locale ;
KernelMergeObject posix_locale.o :
<$(SOURCE_GRIST)>ctype.c
<$(SOURCE_GRIST)>localeconv.c
ctype.c
localeconv.c
setlocale.c
: -fPIC -DPIC
;
@@ -0,0 +1,16 @@
/*
** Copyright 2004, Axel Dörfler, [email protected]. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#include <locale.h>
#include <limits.h>
char *
setlocale(int category, const char *locale)
{
// ToDo: this should check if liblocale.so is available and use its functions
return NULL;
}