mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 19:40:06 +01:00
test: constify the input_absinfo argument
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
53abcb64d5
commit
4ac78fd6df
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ int test_create_device(struct uinput_device **uidev_return,
|
||||||
int test_create_abs_device(struct uinput_device **uidev_return,
|
int test_create_abs_device(struct uinput_device **uidev_return,
|
||||||
struct libevdev **dev_return,
|
struct libevdev **dev_return,
|
||||||
int nabs,
|
int nabs,
|
||||||
struct input_absinfo *abs,
|
const struct input_absinfo *abs,
|
||||||
...)
|
...)
|
||||||
{
|
{
|
||||||
int rc, fd;
|
int rc, fd;
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ int test_create_device(struct uinput_device **uidev,
|
||||||
int test_create_abs_device(struct uinput_device **uidev,
|
int test_create_abs_device(struct uinput_device **uidev,
|
||||||
struct libevdev **dev,
|
struct libevdev **dev,
|
||||||
int nabs,
|
int nabs,
|
||||||
struct input_absinfo *abs,
|
const struct input_absinfo *abs,
|
||||||
...);
|
...);
|
||||||
|
|
||||||
#endif /* _TEST_COMMON_H_ */
|
#endif /* _TEST_COMMON_H_ */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue