diff options
| author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-04 16:00:38 +1000 |
|---|---|---|
| committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-04 16:02:22 +1000 |
| commit | d9fcbd563a1912ec4e2ba974c2731a5b4ae65dfa (patch) | |
| tree | a7787c80e88d2e9662d0ef7e7cbe9a13f7ed07d1 /libevdev/libevdev.h | |
| parent | 3a4706796e62cb81885e228a8c3de41fd133f8ef (diff) | |
| download | libevdev-d9fcbd563a1912ec4e2ba974c2731a5b4ae65dfa.tar.gz | |
Mark three deprecated functions as such
These are deprecated, but were missing the deprecated attribute.
And fix up the tests that were still using those deprecated calls.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'libevdev/libevdev.h')
| -rw-r--r-- | libevdev/libevdev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libevdev/libevdev.h b/libevdev/libevdev.h index 22d1e3d..8d75acb 100644 --- a/libevdev/libevdev.h +++ b/libevdev/libevdev.h @@ -1438,7 +1438,7 @@ void libevdev_set_log_handler(struct libevdev *dev, libevdev_log_func_t logfunc) int libevdev_get_event_type_max(unsigned int type) LIBEVDEV_DEPRECATED; /** replacement: libevdev_property_get_name */ -const char* libevdev_get_property_name(unsigned int prop); +const char* libevdev_get_property_name(unsigned int prop) LIBEVDEV_DEPRECATED; /** replacement: libevdev_event_type_get_name */ const char * libevdev_get_event_type_name(unsigned int type) LIBEVDEV_DEPRECATED; @@ -1446,10 +1446,10 @@ const char * libevdev_get_event_type_name(unsigned int type) LIBEVDEV_DEPRECATED const char * libevdev_get_event_code_name(unsigned int type, unsigned int code) LIBEVDEV_DEPRECATED; /** replacement: libevdev_event_is_type */ -int libevdev_is_event_type(const struct input_event *ev, unsigned int type); +int libevdev_is_event_type(const struct input_event *ev, unsigned int type) LIBEVDEV_DEPRECATED; /** replacement: libevdev_event_is_code */ -int libevdev_is_event_code(const struct input_event *ev, unsigned int type, unsigned int code); +int libevdev_is_event_code(const struct input_event *ev, unsigned int type, unsigned int code) LIBEVDEV_DEPRECATED; /**************************************/ #ifdef __cplusplus |
