added ctype.c, from glibc version 2.2.5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14548 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f1c7ec04ea
commit
0c7b6e66e8
@ -6,6 +6,7 @@ SubDirHdrs $(OBOS_TOP) src system libroot posix glibc locale ;
|
||||
SubDirHdrs $(OBOS_TOP) src system libroot posix glibc ;
|
||||
|
||||
KernelMergeObject posix_gnu_ctype.o :
|
||||
ctype.c
|
||||
ctype-info.c
|
||||
: -fPIC -DPIC
|
||||
;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991,92,97,99,2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991, 1992, 1997, 1999 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -36,11 +36,6 @@ func (isspace, _ISspace)
|
||||
func (isupper, _ISupper)
|
||||
func (isxdigit, _ISxdigit)
|
||||
|
||||
#define __ctype_tolower \
|
||||
((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOLOWER) + 128)
|
||||
#define __ctype_toupper \
|
||||
((int32_t *) _NL_CURRENT (LC_CTYPE, _NL_CTYPE_TOUPPER) + 128)
|
||||
|
||||
int
|
||||
tolower (int c)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user