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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user