Skip to content

Commit 3ec7111

Browse files
committed
Remove usage of linux-ish data types.
This commit is part of Jakub Klama's work on bringing evdev support into the FreeBSD kernel. Author: Jakub Wojciech Klama <jceel@freebsd.org>
1 parent 6b88515 commit 3ec7111

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

evdev/uinput.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ uinput_open(PyObject *self, PyObject *args)
5050
static PyObject *
5151
uinput_create(PyObject *self, PyObject *args) {
5252
int fd, len, i, abscode;
53-
__u16 vendor, product, version, bustype;
53+
uint16_t vendor, product, version, bustype;
5454

5555
PyObject *absinfo = NULL, *item = NULL;
5656

@@ -150,7 +150,7 @@ static PyObject *
150150
uinput_enable_event(PyObject *self, PyObject *args)
151151
{
152152
int fd;
153-
__u16 type, code;
153+
uint16_t type, code;
154154
unsigned long req;
155155

156156
int ret = PyArg_ParseTuple(args, "ihh", &fd, &type, &code);

0 commit comments

Comments
 (0)