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 <ofono/types.h> +struct ofono_modem; struct ofono_voicecall; typedef void (*ofono_voicecall_cb_t)(const struct ofono_error *error, -- 2.13.3 _______________________________________________ ofono mailing list ofono@ofono.org https://lists.ofono.org/mailman/listinfo/ofono