From 1ca05b0f393c0201c0e8efe87831edddb6a53532 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 3 Jan 2010 17:43:37 -0500 Subject: Be sure to add "void" to all function prototypes that take no args. Omitting "void" leads to a K&R style declaration which was not intended. --- src/resume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/resume.c') diff --git a/src/resume.c b/src/resume.c index 59bb9019..6cdfc69e 100644 --- a/src/resume.c +++ b/src/resume.c @@ -13,7 +13,7 @@ // Reset DMA controller void -init_dma() +init_dma(void) { // first reset the DMA controllers outb(0, PORT_DMA1_MASTER_CLEAR); @@ -95,7 +95,7 @@ handle_resume(u8 status) #if MODESEGMENT == 0 void VISIBLE32FLAT -s3_resume() +s3_resume(void) { if (!CONFIG_S3_RESUME) panic("S3 resume support not compiled in.\n"); -- cgit