summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-26 15:23:46 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-26 15:23:46 +0200
commit326e4bddc3d36a2afc2781e3018e2649d2be0680 (patch)
tree73d5eb3166f160af6a912ec8bed0616ed5ed050e /include/common.h
parent5efc6836b7318b2bb442b1584d9371d2ea2df6d9 (diff)
downloadbarebox-326e4bddc3d36a2afc2781e3018e2649d2be0680.tar.gz
barebox-326e4bddc3d36a2afc2781e3018e2649d2be0680.tar.xz
print_size() -> size_human_readable()
return a pointer to a human readable string rather than printingit directly
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h
index f786fe9b86..de6d473348 100644
--- a/include/common.h
+++ b/include/common.h
@@ -73,8 +73,7 @@ void panic(const char *fmt, ...);
/* */
long int initdram (int);
-int display_options (void);
-void print_size (ulong, const char *);
+char *size_human_readable(ulong size);
/* common/main.c */
void main_loop (void);