aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Roth <neolynx@gmail.com>2012-05-13 08:17:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-13 09:34:53 -0300
commit9cbee212dcc47d069badd9868fc3a946cb9e57b8 (patch)
tree804c9a9a497130b355159f9840ec54964d7576d1
parentc773665097e87d9521b74c0725910966bf4f0800 (diff)
[media] use extern C for c++
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--lib/include/dvb-fe.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/dvb-fe.h b/lib/include/dvb-fe.h
index a4534247..4207ffe1 100644
--- a/lib/include/dvb-fe.h
+++ b/lib/include/dvb-fe.h
@@ -88,6 +88,10 @@ struct dvb_v5_fe_parms {
/* Open/close methods */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct dvb_v5_fe_parms *dvb_fe_open(int adapter, int frontend,
unsigned verbose, unsigned use_legacy_call);
void dvb_fe_close(struct dvb_v5_fe_parms *parms);
@@ -150,6 +154,10 @@ int dvb_fe_diseqc_cmd(struct dvb_v5_fe_parms *parms, const unsigned len,
int dvb_fe_diseqc_reply(struct dvb_v5_fe_parms *parms, unsigned *len, char *buf,
int timeout);
+#ifdef __cplusplus
+}
+#endif
+
/* Arrays from dvb-v5.h */
extern const unsigned fe_bandwidth_name[8];

Privacy Policy