Fix the extra semicolon and unreachable code
extern char *stats_file;
extern unsigned lock_staleness_limit;
+static void failed(void) ATTR_NORETURN;
+static void ccache(int argc, char *argv[]) ATTR_NORETURN;
+
int ccache_main(int argc, char *argv[]);
static const char VERSION_TEXT[] =
free(program_name);
ccache(argc, argv);
- return 1;
}
#ifdef __GNUC__
#define ATTR_FORMAT(x, y, z) __attribute__((format (x, y, z)))
-#define ATTR_NORETURN __attribute__((noreturn));
+#define ATTR_NORETURN __attribute__((noreturn))
#else
#define ATTR_FORMAT(x, y, z)
#define ATTR_NORETURN
#endif
}
+static void warn_log_fail(void) ATTR_NORETURN;
+
// Warn about failure writing to the log file and then exit.
static void
warn_log_fail(void)