From 27aa5c2ca9e4850cd3c6c6d7f74e643fd9b7c12c Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Wed, 15 May 2013 08:27:06 -0300 Subject: [PATCH] Fix dummy function arguments when compiled without sqlite3 support That shuts up a warning. Signed-off-by: Mauro Carvalho Chehab --- ras-record.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ras-record.h b/ras-record.h index dfa7d79..7270853 100644 --- a/ras-record.h +++ b/ras-record.h @@ -46,7 +46,7 @@ int ras_mc_event_opendb(unsigned cpu, struct ras_events *ras); int ras_store_mc_event(struct ras_events *ras, struct ras_mc_event *ev); #else -static inline int ras_mc_event_opendb(struct ras_events *ras) { return 0; }; +static inline int ras_mc_event_opendb(unsigned cpu, struct ras_events *ras) { return 0; }; static inline int ras_store_mc_event(struct ras_events *ras, struct ras_mc_event *ev) { return 0; }; #endif -- 2.50.1