oops missing #ifdef __cpluplus
This commit is contained in:
parent
16fb6ff6ff
commit
d41a0fc04b
1 changed files with 4 additions and 1 deletions
|
@ -26,9 +26,12 @@
|
|||
#define LIBEVDEV_H
|
||||
|
||||
#include <linux/input.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern int libevdev_event_code_from_name(unsigned int type, const char *name);
|
||||
extern const char * libevdev_event_code_get_name(unsigned int type, unsigned int code);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue