Use strict prototype in definition
gettime.c:25:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
    /*@observer@*/time_t gettime ()
                                 ^
                                  void
			
			
This commit is contained in:
		
				
					committed by
					
						 Iker Pedrosa
						Iker Pedrosa
					
				
			
			
				
	
			
			
			
						parent
						
							e638841f5a
						
					
				
				
					commit
					37bf59067f
				
			| @@ -22,7 +22,7 @@ | |||||||
|  * Epoch, 1970-01-01 00:00:00 +0000 (UTC), except that if the SOURCE_DATE_EPOCH |  * Epoch, 1970-01-01 00:00:00 +0000 (UTC), except that if the SOURCE_DATE_EPOCH | ||||||
|  * environment variable is exported it will use that instead. |  * environment variable is exported it will use that instead. | ||||||
|  */ |  */ | ||||||
| /*@observer@*/time_t gettime () | /*@observer@*/time_t gettime (void) | ||||||
| { | { | ||||||
| 	char *endptr; | 	char *endptr; | ||||||
| 	char *source_date_epoch; | 	char *source_date_epoch; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user