summaryrefslogtreecommitdiffstats
path: root/common/report.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-09-04 07:24:52 +0200
committertmk <nobody@nowhere>2012-09-04 07:24:52 +0200
commitdc79a8521946a3a2e5b86945b8043b87a8b8d78c (patch)
tree737827112555c00a7f2ebbb88e61079c460be71a /common/report.h
parent7350b7c6aa300a234244c264b10d1732803c27df (diff)
parent232ab308e358e41f3253d66fa009c1ebca0951a2 (diff)
downloadqmk_firmware-dc79a8521946a3a2e5b86945b8043b87a8b8d78c.tar.gz
qmk_firmware-dc79a8521946a3a2e5b86945b8043b87a8b8d78c.tar.xz
Merge branch 'usb_hid'
Diffstat (limited to 'common/report.h')
-rw-r--r--common/report.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/report.h b/common/report.h
index 45f5c0b88..a73e0aba1 100644
--- a/common/report.h
+++ b/common/report.h
@@ -78,6 +78,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define REPORT_KEYS 6
#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct {
uint8_t mods;
uint8_t rserved;
@@ -92,4 +97,8 @@ typedef struct {
int8_t h;
} __attribute__ ((packed)) report_mouse_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif