From 67b097124c26e8e39d89cd0deebb9cb127a4997c Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 5 Sep 2017 16:20:30 +0200 Subject: [PATCH] include/gprs-context.h: declare struct ofono_modem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a warning. ./include/gprs-context.h:99:61: error: ‘struct ofono_modem’ declared inside parameter list will not be visible outside of this definition or declaration... --- include/gprs-context.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gprs-context.h b/include/gprs-context.h index 5f54aa6a..38e5c09d 100644 --- a/include/gprs-context.h +++ b/include/gprs-context.h @@ -29,6 +29,7 @@ extern "C" { #include struct ofono_gprs_context; +struct ofono_modem; /* * ETSI 123.003, Section 9.1: