mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-25 01:10:10 +01:00
Add extern C guards to libevdev-uinput.h
Reported-by: Stanisław Halik <sthalik@misaki.pl>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit c365d22b70)
This commit is contained in:
parent
f6fc441c73
commit
d3ce3f6a9b
1 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,10 @@
|
|||
#ifndef libevdev_uinput_H
|
||||
#define libevdev_uinput_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <libevdev/libevdev.h>
|
||||
|
||||
struct libevdev_uinput;
|
||||
|
|
@ -226,5 +230,8 @@ int libevdev_uinput_write_event(const struct libevdev_uinput *uinput_dev,
|
|||
unsigned int type,
|
||||
unsigned int code,
|
||||
int value);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* libevdev_uinput_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue