]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Fix dummy function arguments when compiled without sqlite3 support
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 May 2013 11:27:06 +0000 (08:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 May 2013 11:27:56 +0000 (08:27 -0300)
That shuts up a warning.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
ras-record.h

index dfa7d79b32c766b760bf1451bc822b2477cbd6ad..7270853ee46c6cd3d1e3a56e419e4ef44f864000 100644 (file)
@@ -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