From 374b9038293d01d8744a46af9b7854a6fd99b228 Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Wed, 15 Oct 2008 09:51:19 +0200 Subject: Fix compiler warning in lib_ppc/board.c Fix compiler warning introduced by commit 0f8cbc18 Signed-off-by: Heiko Schocher Signed-off-by: Wolfgang Denk --- lib_ppc/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib_ppc/board.c') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index 564faf2c6..865e74f08 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -635,7 +635,7 @@ void board_init_f (ulong bootflag) /* NOTREACHED - relocate_code() does not return */ } -int __is_sata_supported() +int __is_sata_supported(void) { /* For some boards, when sata disabled by the switch, and the * driver still access the sata registers, the cpu will hangup. @@ -643,7 +643,7 @@ int __is_sata_supported() * board have such issue.*/ return 1; } -int is_sata_supported() __attribute__((weak, alias("__is_sata_supported"))); +int is_sata_supported(void) __attribute__((weak, alias("__is_sata_supported"))); /************************************************************************ * -- cgit v1.2.3