mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 18:10:07 +01: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
|
||||
#define LIBEVDEV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <linux/input.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;
|
||||
|
||||
/**************************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* LIBEVDEV_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue