]> pd.if.org Git - pdclib/commitdiff
Added 'void' to empty parameter lists.
authorsolar <unknown>
Fri, 23 Dec 2005 16:04:43 +0000 (16:04 +0000)
committersolar <unknown>
Fri, 23 Dec 2005 16:04:43 +0000 (16:04 +0000)
functions/stdlib/abort.c
functions/stdlib/rand.c

index 4a15bf898c84f90b9b3e3a83add230f9aa20fc65..b7f09777cd3923a82ace7f8a8135239efbb5dca4 100644 (file)
@@ -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 );
index 1ad3e915d76ff0e971810c008a719ad8d8da553c..b8163a381c145ba6779d9ae20b81a23f6579c87a 100644 (file)
@@ -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;