From e694adc6a4716fc589693eb8eb8e67bbf54e8edc Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Jul 2007 18:01:52 +0200 Subject: svn_rev_420 - do more POSIX: - use DIR instead of struct dirent - use (struct dirent)->d_name instead of (struct dirent)->name - switch to a new layout for U_BOOT_CMD: - use C99 initializers to be able to add more fields to the command struct - add aliases for commands (needed mainly for help -> ? and test -> [ - This is not done for all commands yet, but the compiler will tell you ;) --- common/dlmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/dlmalloc.c') diff --git a/common/dlmalloc.c b/common/dlmalloc.c index 22ef06d776..03dfcb4212 100644 --- a/common/dlmalloc.c +++ b/common/dlmalloc.c @@ -1933,7 +1933,7 @@ size_t malloc_usable_size(mem) Void_t* mem; /* Utility to update current_mallinfo for malloc_stats and mallinfo() */ -#ifdef CONFIG_CMD_MALLOCINFO +#ifdef CONFIG_CMD_MEMINFO static void malloc_update_mallinfo() { int i; @@ -2011,7 +2011,7 @@ void malloc_stats() #endif } -#endif /* CONFIG_CMD_MALLOCINFO */ +#endif /* CONFIG_CMD_MEMINFO */ -- cgit v1.2.3