summaryrefslogtreecommitdiff
path: root/include/mtdev-mapping.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mtdev-mapping.h')
-rw-r--r--include/mtdev-mapping.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mtdev-mapping.h b/include/mtdev-mapping.h
index cb4c326..0e47970 100644
--- a/include/mtdev-mapping.h
+++ b/include/mtdev-mapping.h
@@ -31,6 +31,10 @@
31#ifndef _MTDEV_MAPPING_H 31#ifndef _MTDEV_MAPPING_H
32#define _MTDEV_MAPPING_H 32#define _MTDEV_MAPPING_H
33 33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
34#include <mtdev.h> 38#include <mtdev.h>
35 39
36#define MTDEV_TOUCH_MAJOR 0 40#define MTDEV_TOUCH_MAJOR 0
@@ -76,4 +80,8 @@ static inline unsigned int mtdev_mt2abs(unsigned int mtcode)
76 return mtdev_map_mt2abs[mtcode]; 80 return mtdev_map_mt2abs[mtcode];
77} 81}
78 82
83#ifdef __cplusplus
84}
85#endif
86
79#endif 87#endif