mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Implement feof and xmalloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5478 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0ac7d5c534
commit
3a35254960
@ -5,6 +5,7 @@
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
int gettimeofday(struct timeval *tv, void *tz) { return 0; }
|
int gettimeofday(struct timeval *tv, void *tz) { return 0; }
|
||||||
|
void *xmalloc(size_t X) { return malloc(X); }
|
||||||
|
|
||||||
void srand(unsigned x) {}
|
void srand(unsigned x) {}
|
||||||
double exp(double x) { return 0; }
|
double exp(double x) { return 0; }
|
||||||
@ -35,6 +36,7 @@ long ftell(FILE *F) { return 0; }
|
|||||||
int getc(FILE *S) { return 0; }
|
int getc(FILE *S) { return 0; }
|
||||||
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream) { return 0; }
|
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream) { return 0; }
|
||||||
int fseek(FILE *stream, long offset, int whence) { return 0; }
|
int fseek(FILE *stream, long offset, int whence) { return 0; }
|
||||||
|
int feof(FILE *stream) { return 0; }
|
||||||
int fputs(const char *s, FILE *stream) { return 0; }
|
int fputs(const char *s, FILE *stream) { return 0; }
|
||||||
int ferror(FILE *F) { return 0; }
|
int ferror(FILE *F) { return 0; }
|
||||||
FILE *fdopen(int fildes, const char *mode) { return 0;}
|
FILE *fdopen(int fildes, const char *mode) { return 0;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user