From e25ac2ecee6251afcec84e08165e454fb6bc256c Mon Sep 17 00:00:00 2001 From: solar Date: Fri, 23 Dec 2005 16:04:43 +0000 Subject: [PATCH] Added 'void' to empty parameter lists. --- functions/stdlib/abort.c | 4 ++-- functions/stdlib/rand.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/stdlib/abort.c b/functions/stdlib/abort.c index 4a15bf8..b7f0977 100644 --- a/functions/stdlib/abort.c +++ b/functions/stdlib/abort.c @@ -2,7 +2,7 @@ /* Release $Name$ */ -/* abort() +/* abort( void ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -13,7 +13,7 @@ #ifndef REGTEST -void abort() +void abort( void ) { raise( SIGABRT ); exit( 1 ); diff --git a/functions/stdlib/rand.c b/functions/stdlib/rand.c index 1ad3e91..b8163a3 100644 --- a/functions/stdlib/rand.c +++ b/functions/stdlib/rand.c @@ -2,7 +2,7 @@ /* Release $Name$ */ -/* rand() +/* rand( void ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. @@ -12,7 +12,7 @@ #ifndef REGTEST -int rand() +int rand( void ) { _PDCLIB_seed = _PDCLIB_seed * 1103515245 + 12345; return (unsigned int) ( _PDCLIB_seed / 65536 ) % 32768; -- 2.40.0