Change names of parameters to memcpy(), as per Geoff.

This commit is contained in:
Ziemowit Laski
2019-03-18 11:03:27 -07:00
parent 2d5bdc85b0
commit 566fdc3f70
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ void *__builtin_alloca(int sz);
typedef unsigned long size_t;
int printf(const char *restrict format, ...);
void *memcpy(void *restrict dst, const void *restrict src, size_t len);
void *memcpy(void *restrict s1, const void *restrict s2, size_t n);
// case 1: alloca directly contained in an unbounded loop
void foo(const struct vtype* vec, int count) {

View File

@@ -12,7 +12,7 @@ extern int w1, w2;
#endif
int printf(const char *restrict format, ...);
void *memcpy(void *restrict dst, const void *restrict src, size_t len);
void *memcpy(void *restrict s1, const void *restrict s2, size_t n);
// case 1: _alloca directly contained in an unbounded loop
void foo(const struct vtype* vec, int count) {

View File

@@ -2,7 +2,7 @@
int printf(const char *restrict format, ...);
int sprintf(char *restrict buf, const char *restrict format, ...);
typedef unsigned long size_t;
void *memcpy(void *restrict dst, const void *restrict src, size_t len);
void *memcpy(void *restrict s1, const void *restrict s2, size_t n);
void *malloc(size_t sz);
void free(void *ptr);