mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Fixes to be LP64 correct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
void *malloc(unsigned);
|
||||
void *malloc(size_t);
|
||||
void free(void *);
|
||||
void *memset(void *, int, unsigned);
|
||||
void *memset(void *, int, size_t);
|
||||
|
||||
void *calloc(size_t nelem, size_t elsize) {
|
||||
void *Result = malloc(nelem*elsize);
|
||||
|
Reference in New Issue
Block a user