1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-12-23 17:45:33 +02:00

phase2: use "static" wherever possible

Makes it easier to determine what can be safely changed.

Signed-off-by: Werner Almesberger <werner@openmoko.org>
This commit is contained in:
Werner Almesberger 2009-01-09 04:32:51 +00:00 committed by Andy Green
parent 9411e40603
commit 73b8441e3b

View File

@ -35,7 +35,7 @@ unsigned long partition_length_blocks = 0;
struct kernel_source const * this_kernel = 0;
const int INITRD_OFFSET = (8 * 1024 * 1024);
static const int INITRD_OFFSET = (8 * 1024 * 1024);
int raise(int n)
@ -43,13 +43,13 @@ int raise(int n)
return 0;
}
void indicate(enum ui_indication ui_indication)
static void indicate(enum ui_indication ui_indication)
{
if (this_board->set_ui_indication)
(this_board->set_ui_indication)(ui_indication);
}
int read_file(const char * filepath, u8 * destination, int size)
static int read_file(const char * filepath, u8 * destination, int size)
{
int len = size;
int ret;