summaryrefslogtreecommitdiff
path: root/include/mtdev-plumbing.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-12-20 16:49:53 +0100
committerHenrik Rydberg <rydberg@euromail.se>2010-12-22 12:31:28 +0100
commit0e2ab3b5940e70493aaabdfe5e8da1c75db4db72 (patch)
treea253d231d73f06efd8c47cbb7dec51a0291de37b /include/mtdev-plumbing.h
parentdb1fdc76ceb5d1bbe32c193e13eb4357da5d0b81 (diff)
Allow use in c++ applications
Reported-by: Armando Visconti <armando.visconti@st.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/mtdev-plumbing.h')
-rw-r--r--include/mtdev-plumbing.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mtdev-plumbing.h b/include/mtdev-plumbing.h
index 137fbc2..cadc1f7 100644
--- a/include/mtdev-plumbing.h
+++ b/include/mtdev-plumbing.h
@@ -29,6 +29,10 @@
29#ifndef _MTDEV_PLUMBING_H 29#ifndef _MTDEV_PLUMBING_H
30#define _MTDEV_PLUMBING_H 30#define _MTDEV_PLUMBING_H
31 31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
32#include <mtdev.h> 36#include <mtdev.h>
33 37
34/** 38/**
@@ -102,4 +106,8 @@ int mtdev_empty(struct mtdev *dev);
102 */ 106 */
103void mtdev_get_event(struct mtdev *dev, struct input_event* ev); 107void mtdev_get_event(struct mtdev *dev, struct input_event* ev);
104 108
109#ifdef __cplusplus
110}
111#endif
112
105#endif 113#endif