]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/rand.c
Whitespace cleanups.
[pdclib] / functions / stdlib / rand.c
index b326be00493615731ba5ecb7ba5d62170b7af3cc..779b3b2371e777c046d13474cd5e71a5f6151df5 100644 (file)
@@ -1,7 +1,3 @@
-/* $Id$ */
-
-/* Release $Name$ */
-
 /* rand( void )
 
    This file is part of the Public Domain C Library (PDCLib).
 int rand( void )
 {
     _PDCLIB_seed = _PDCLIB_seed * 1103515245 + 12345;
-    return (unsigned int) ( _PDCLIB_seed / 65536 ) % 32768;
+    return (int)( _PDCLIB_seed / 65536 ) % 32768;
 }
 
 #endif
 
 #ifdef TEST
-#include <_PDCLIB_test.h>
+
+#include "_PDCLIB_test.h"
 
 int main( void )
 {