Remove volatile keyword from function declarations

This silences a lot of gcc-4 compile warnings
This commit is contained in:
Richard P. Curnow 2006-04-15 00:10:21 +01:00
parent 3e7781fdaf
commit 1e7e7d3231
4 changed files with 4 additions and 4 deletions

View file

@ -116,7 +116,7 @@ LOG_Line_Function(LOG_Severity severity, LOG_Facility facility, const char *form
/* ================================================== */
volatile void
void
LOG_Fatal_Function(LOG_Facility facility, const char *format, ...)
{
char buf[2048];

View file

@ -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);

2
main.c
View file

@ -74,7 +74,7 @@ delete_pidfile(void)
/* ================================================== */
volatile void
void
MAI_CleanupAndExit(void)
{
if (!initialised) exit(0);

2
main.h
View file

@ -32,7 +32,7 @@
#define GOT_MAIN_H
/* Function to clean up at end of run */
extern volatile void MAI_CleanupAndExit(void);
extern void MAI_CleanupAndExit(void);
#endif /* GOT_MAIN_H */