forked from len0rd/rockbox
fixed to work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1039 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0c7ebc4c96
commit
a898728c54
3 changed files with 1 additions and 18 deletions
|
@ -12,8 +12,6 @@
|
||||||
#ifndef _ANSIDECL_H_
|
#ifndef _ANSIDECL_H_
|
||||||
#define _ANSIDECL_H_
|
#define _ANSIDECL_H_
|
||||||
|
|
||||||
#include <sys/config.h>
|
|
||||||
|
|
||||||
/* First try to figure out whether we really are in an ANSI C environment. */
|
/* First try to figure out whether we really are in an ANSI C environment. */
|
||||||
/* FIXME: This probably needs some work. Perhaps sys/config.h can be
|
/* FIXME: This probably needs some work. Perhaps sys/config.h can be
|
||||||
prevailed upon to give us a clue. */
|
prevailed upon to give us a clue. */
|
||||||
|
|
|
@ -23,10 +23,6 @@ extern "C" {
|
||||||
#define EXIT_FAILURE 1
|
#define EXIT_FAILURE 1
|
||||||
#define EXIT_SUCCESS 0
|
#define EXIT_SUCCESS 0
|
||||||
|
|
||||||
extern __IMPORT int __mb_cur_max;
|
|
||||||
|
|
||||||
#define MB_CUR_MAX __mb_cur_max
|
|
||||||
|
|
||||||
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
|
_VOID _EXFUN(qsort,(_PTR __base, size_t __nmemb, size_t __size, int(*_compar)(const _PTR, const _PTR)));
|
||||||
|
|
||||||
void *malloc(size_t);
|
void *malloc(size_t);
|
||||||
|
|
|
@ -12,7 +12,6 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "_ansi.h"
|
#include "_ansi.h"
|
||||||
#include <sys/reent.h>
|
|
||||||
|
|
||||||
#define __need_size_t
|
#define __need_size_t
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
@ -51,20 +50,10 @@ size_t _EXFUN(strxfrm,(char *, const char *, size_t));
|
||||||
#ifndef __STRICT_ANSI__
|
#ifndef __STRICT_ANSI__
|
||||||
char *_EXFUN(strtok_r,(char *, const char *, char **));
|
char *_EXFUN(strtok_r,(char *, const char *, char **));
|
||||||
|
|
||||||
int _EXFUN(bcmp,(const char *, const char *, size_t));
|
|
||||||
void _EXFUN(bcopy,(const char *, char *, size_t));
|
|
||||||
void _EXFUN(bzero,(char *, size_t));
|
|
||||||
int _EXFUN(ffs,(int));
|
|
||||||
char *_EXFUN(index,(const char *, int));
|
|
||||||
_PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
|
_PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
|
||||||
char *_EXFUN(rindex,(const char *, int));
|
|
||||||
int _EXFUN(strcasecmp,(const char *, const char *));
|
int _EXFUN(strcasecmp,(const char *, const char *));
|
||||||
char *_EXFUN(strdup,(const char *));
|
|
||||||
char *_EXFUN(_strdup_r,(struct _reent *, const char *));
|
|
||||||
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
|
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
|
||||||
char *_EXFUN(strsep,(char **, const char *));
|
|
||||||
char *_EXFUN(strlwr,(char *));
|
|
||||||
char *_EXFUN(strupr,(char *));
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
|
#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
|
||||||
const char *_EXFUN(strsignal, (int __signo));
|
const char *_EXFUN(strsignal, (int __signo));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue