mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-08 15:58:04 +02:00
Add C++ header guards
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
dd4a1a49de
commit
f58fb680f5
1 changed files with 9 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
||||||
#ifndef LIBEVDEV_H
|
#ifndef LIBEVDEV_H
|
||||||
#define LIBEVDEV_H
|
#define LIBEVDEV_H
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
|
@ -1330,4 +1334,9 @@ int libevdev_get_repeat(struct libevdev *dev, int *delay, int *period);
|
||||||
int libevdev_kernel_set_abs_value(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs) LIBEVDEV_DEPRECATED;
|
int libevdev_kernel_set_abs_value(struct libevdev *dev, unsigned int code, const struct input_absinfo *abs) LIBEVDEV_DEPRECATED;
|
||||||
|
|
||||||
/**************************************/
|
/**************************************/
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* LIBEVDEV_H */
|
#endif /* LIBEVDEV_H */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue