From 41ad1c1da0098ed0e975265e12659324d5c27df5 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 25 Jul 2017 15:26:23 +0200 Subject: [PATCH] voicecall.h: declare struct ofono_modem Fix a warning when only voicecall.h is included: 'struct ofono_modem declared' inside parameter list will not be visible outside of this definition or declaration struct ofono_voicecall *ofono_voicecall_create(struct ofono_modem *modem,... --- include/voicecall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/voicecall.h b/include/voicecall.h index 4d0b3886..eb897e5e 100644 --- a/include/voicecall.h +++ b/include/voicecall.h @@ -28,6 +28,7 @@ extern "C" { #include +struct ofono_modem; struct ofono_voicecall; typedef void (*ofono_voicecall_cb_t)(const struct ofono_error *error,