aboutsummaryrefslogtreecommitdiffstats
path: root/src/resume.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-01-03 17:43:37 -0500
commit1ca05b0f393c0201c0e8efe87831edddb6a53532 (patch)
tree4419fdb78cba0962313f8e6bcf35d16a3401183e /src/resume.c
parentb5bb9db8425b3b463e634874e3a201a354d55ac7 (diff)
downloadseabios-1ca05b0f393c0201c0e8efe87831edddb6a53532.tar.gz
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.
Diffstat (limited to 'src/resume.c')
-rw-r--r--src/resume.c4
1 files changed, 2 insertions, 2 deletions
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");