- Timestamp:
- Aug 21, 2018, 9:50:34 PM (6 years ago)
- Location:
- trunk/libs/mini-libc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libs/mini-libc/stdio.c
r473 r476 287 287 288 288 ///////////// 289 int getchar( )289 int getchar( void ) 290 290 { 291 291 char byte; -
trunk/libs/mini-libc/stdio.h
r473 r476 66 66 * @ returns read character code if success / returns 0 (EOF) if failure. 67 67 ********************************************************************************************/ 68 int getchar( );68 int getchar( void ); 69 69 70 70 /********************************************************************************************* -
trunk/libs/mini-libc/stdlib.c
r473 r476 121 121 122 122 ////////// 123 int rand( )123 int rand( void ) 124 124 { 125 125 unsigned long long cycle; -
trunk/libs/mini-libc/stdlib.h
r473 r476 73 73 * @ return an integer value between 0 and RAND_MAX. 74 74 ********************************************************************************************/ 75 int rand( );75 int rand( void ); 76 76 77 77 /***************************************************************************************** -
trunk/libs/mini-libc/unistd.c
r473 r476 97 97 98 98 ////////// 99 int fork( )99 int fork( void ) 100 100 { 101 101 return hal_user_syscall( SYS_FORK, 0, 0, 0, 0 ); … … 103 103 104 104 //////////// 105 int getpid( )105 int getpid( void ) 106 106 { 107 107 return hal_user_syscall( SYS_GETPID, 0, 0, 0, 0 ); -
trunk/libs/mini-libc/unistd.h
r459 r476 149 149 * @ if failure, returns -1 to parent / no child process is created. 150 150 ****************************************************************************************/ 151 int fork( );151 int fork( void ); 152 152 153 153 /***************************************************************************************** … … 178 178 * @ returns the process PID for the calling thread process. 179 179 ****************************************************************************************/ 180 int getpid( );180 int getpid( void ); 181 181 182 182 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.