Fixed prototype warnings.
authorsolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Thu, 17 Mar 2011 05:59:31 +0000 (05:59 +0000)
committersolar <solar@546481bc-9713-0410-bf18-d3337bbf4a3e>
Thu, 17 Mar 2011 05:59:31 +0000 (05:59 +0000)
git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@516 546481bc-9713-0410-bf18-d3337bbf4a3e

functions/_PDCLIB/errno.c
functions/stdio/sscanf.c
platform/example/functions/_PDCLIB/seek.c
platform/example/functions/stdio/tmpfile.c
platform/example_cygwin/functions/_PDCLIB/seek.c
platform/example_cygwin/functions/stdio/tmpfile.c

index ba01c350102bf71f9ca7136f470db8343d70e0ca..5ae0ca4c2521d25e38e7af144cd20412e8e52af9 100644 (file)
@@ -25,7 +25,7 @@ int * _PDCLIB_errno_func()
 
 #include <errno.h>
 
-int main()
+int main( void )
 {
     errno = 0;
     TESTCASE( errno == 0 );
index dc343b863170646edaaa74ad7870cc7bd160f6f4..bf0ea5599c7d80f618d72736ba052a65b2930eb5 100644 (file)
@@ -31,7 +31,7 @@ int sscanf( const char * _PDCLIB_restrict s, const char * _PDCLIB_restrict forma
 
 #define testscanf( s, format, ... ) sscanf( s, format, __VA_ARGS__ )
 
-int main()
+int main( void )
 {
     char source[100];
 #include "scanf_testcases.h"
index b3e1830dca64f6de749c855c3d987ad7df7f3389..755abe2cb1eb9393a943356007f9071a69b9f2de 100644 (file)
@@ -63,7 +63,7 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     /* Testing covered by ftell.c */
     return TEST_RESULTS;
index b778f3f9dabe374c63a54b551b4e2bbf38d61669..29750d46b2a7757cf785c10fa9756dfc98503622 100644 (file)
@@ -91,7 +91,7 @@ struct _PDCLIB_file_t * tmpfile( void )
 #include <_PDCLIB_test.h>
 #include <string.h>
 
-int main()
+int main( void )
 {
     FILE * fh;
 #ifndef REGTEST
index c1094f346554fca88b02eb52e305b3c5192aa915..449a62a459cfd23a0a847470483993e373049775 100644 (file)
@@ -60,7 +60,7 @@ _PDCLIB_int64_t _PDCLIB_seek( struct _PDCLIB_file_t * stream, _PDCLIB_int64_t of
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     /* Testing covered by ftell.c */
     return TEST_RESULTS;
index 9e6a325df6fefae6763314c322cea28b1d2e7d4d..3049260a5d332dfcc29681030b2685731ba52c0f 100644 (file)
@@ -21,7 +21,7 @@ struct _PDCLIB_file_t * tmpfile( void )
 #ifdef TEST
 #include <_PDCLIB_test.h>
 
-int main()
+int main( void )
 {
     FILE * fh;
     char filename[ L_tmpnam ];