From ccad951e7d7198ea915fc8d9c8dee1062bcf57d8 Mon Sep 17 00:00:00 2001 From: Frank Vibrans Date: Thu, 5 May 2011 16:49:11 +0000 Subject: Adds VOID to empty parameter lists to get rid of some build warnings. This change modifies a collection of files by adding the VOID parameter to empty parameter lists to cut down on the number of warnings produced when compiling the AMD Agesa code. This should cut down the number of warnings by about 1100 each for rom- and ramstage. Signed-off-by: Frank Vibrans Acked-by: Marc Jones git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6556 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/vendorcode/amd/agesa/Proc/Common/CommonReturns.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/vendorcode/amd/agesa/Proc/Common') diff --git a/src/vendorcode/amd/agesa/Proc/Common/CommonReturns.c b/src/vendorcode/amd/agesa/Proc/Common/CommonReturns.c index c0d28a1b6d..90e2918d2d 100644 --- a/src/vendorcode/amd/agesa/Proc/Common/CommonReturns.c +++ b/src/vendorcode/amd/agesa/Proc/Common/CommonReturns.c @@ -70,7 +70,7 @@ RDATA_GROUP (G1_PEICC) * @retval TRUE Default case, no special action */ BOOLEAN -CommonReturnTrue () +CommonReturnTrue (VOID) { return TRUE; } @@ -83,7 +83,7 @@ CommonReturnTrue () * @retval FALSE Default case, no special action */ BOOLEAN -CommonReturnFalse () +CommonReturnFalse (VOID) { return FALSE; } @@ -96,7 +96,7 @@ CommonReturnFalse () * @retval zero None, or only case zero. */ UINT8 -CommonReturnZero8 () +CommonReturnZero8 (VOID) { return 0; } @@ -109,7 +109,7 @@ CommonReturnZero8 () * @retval zero None, or only case zero. */ UINT32 -CommonReturnZero32 () +CommonReturnZero32 (VOID) { return 0; } @@ -122,7 +122,7 @@ CommonReturnZero32 () * @retval zero None, or only case zero. */ UINT64 -CommonReturnZero64 () +CommonReturnZero64 (VOID) { return 0; } @@ -134,7 +134,7 @@ CommonReturnZero64 () * @retval NULL pointer to nothing */ VOID * -CommonReturnNULL () +CommonReturnNULL (VOID) { return NULL; } @@ -146,7 +146,7 @@ CommonReturnNULL () * @retval AGESA_SUCCESS Success. */ AGESA_STATUS -CommonReturnAgesaSuccess () +CommonReturnAgesaSuccess (VOID) { return AGESA_SUCCESS; } @@ -158,7 +158,7 @@ CommonReturnAgesaSuccess () * */ VOID -CommonVoid () +CommonVoid (VOID) { } @@ -168,7 +168,7 @@ CommonVoid () * */ VOID -CommonAssert () +CommonAssert (VOID) { ASSERT (FALSE); } -- cgit v1.2.3