aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-10-04 13:04:53 +0000
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:25 +0200
commitf67b21c9ea33de6070de851762fb84b002ae523b (patch)
treed46889f40e67ff721da1bdb4bfe964c2284a9cc3
parent3c8b9481088b546af3f0fd161a432ba0f0cb682e (diff)
Remove arc from the malloc function names
-rw-r--r--common/stdlib.c2
-rw-r--r--common/stdlib.h2
-rw-r--r--ext2load/loader.c2
-rw-r--r--tip22/tftpload.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/common/stdlib.c b/common/stdlib.c
index 1d3355a..33cc07d 100644
--- a/common/stdlib.c
+++ b/common/stdlib.c
@@ -107,7 +107,7 @@ void *realloc(void *ptr, size_t size)
}
-void arclib_malloc_add(unsigned long start, unsigned long size)
+void malloc_area_add(unsigned long start, unsigned long size)
{
Node *node = (Node *) start;
diff --git a/common/stdlib.h b/common/stdlib.h
index 8bd1e8b..5e690b0 100644
--- a/common/stdlib.h
+++ b/common/stdlib.h
@@ -10,6 +10,6 @@ extern void *malloc(size_t size);
extern void free(void *ptr);
extern void *realloc(void *ptr, size_t size);
-extern void arclib_malloc_add(unsigned long start, unsigned long size);
+extern void malloc_area_add(unsigned long start, unsigned long size);
#endif /* _STDLIB_H_ */
diff --git a/ext2load/loader.c b/ext2load/loader.c
index 2b1192f..75fa4cc 100644
--- a/ext2load/loader.c
+++ b/ext2load/loader.c
@@ -122,7 +122,7 @@ void InitMalloc(void)
printf("Adding %lu bytes at 0x%lx to the list of available memory\n\r",
end-start, start);
#endif
- arclib_malloc_add(start, end - start);
+ malloc_area_add(start, end - start);
}
}
current = ArcGetMemoryDescriptor(current);
diff --git a/tip22/tftpload.c b/tip22/tftpload.c
index 37ca7d1..36465bf 100644
--- a/tip22/tftpload.c
+++ b/tip22/tftpload.c
@@ -109,7 +109,7 @@ static void InitMalloc(void)
printf("Adding %lu bytes at 0x%lx to the list of available memory\n\r",
end-start, start);
#endif
- arclib_malloc_add(start, end - start);
+ malloc_area_add(start, end - start);
}
}
current = ArcGetMemoryDescriptor(current);