mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 13:55:07 -05:00
Quash a load of compile warnings
Kevin Lyda writes: I enclose the following patch which removes all but three of the warnings. i don't have any non-linux systems handy to test a fix to the round() function. but having it return a double should be fine. It doesn't actually fix anything, it just shuts up -Wall, so it's certainly an optional type of patch.
This commit is contained in:
committed by
Richard P. Curnow
parent
3a8f93792b
commit
2a30c56f03
@@ -77,7 +77,7 @@ extern void LOG_Finalise(void);
|
||||
extern void LOG_Line_Function(LOG_Severity severity, LOG_Facility facility, const char *format, ...);
|
||||
|
||||
/* Logging function for fatal errors */
|
||||
extern volatile void LOG_Fatal_Function(LOG_Facility facility, const char *format, ...);
|
||||
extern void LOG_Fatal_Function(LOG_Facility facility, const char *format, ...);
|
||||
|
||||
/* Position in code reporting function */
|
||||
extern void LOG_Position(const char *filename, int line_number, const char *function_name);
|
||||
|
||||
Reference in New Issue
Block a user