diff options
author | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
---|---|---|
committer | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
commit | dbb41ce2b7f309d394054a6bd1e33afd578798a5 (patch) | |
tree | 6a31092063d9f2fb5ac5720ec6759040e793c3d5 /kernel/tests/include/lapi/ioctl.h | |
parent | Set Linux kernel version to unknown if it is not detectable (diff) | |
download | xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.gz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.xz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.zip |
Move the source code of all xloop components to the common 'src' directory
Diffstat (limited to 'kernel/tests/include/lapi/ioctl.h')
-rw-r--r-- | kernel/tests/include/lapi/ioctl.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/kernel/tests/include/lapi/ioctl.h b/kernel/tests/include/lapi/ioctl.h deleted file mode 100644 index ecd2502..0000000 --- a/kernel/tests/include/lapi/ioctl.h +++ /dev/null @@ -1,40 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 Cyril Hrubis <chrubis@suse.cz> - * Copyright (c) 2020 Petr Vorel <pvorel@suse.cz> - */ - -#ifndef IOCTL_H__ -#define IOCTL_H__ - -#include "config.h" -#include <sys/ioctl.h> - -/* musl not including it in <sys/ioctl.h> */ -#include <sys/ttydefaults.h> - -#ifndef TIOCVHANGUP -# define TIOCVHANGUP 0x5437 -#endif - -#ifndef HAVE_STRUCT_TERMIO -# ifndef NCC -# ifdef __powerpc__ -# define NCC 10 -# else -# define NCC 8 -# endif -# endif /* NCC */ - -struct termio - { - unsigned short int c_iflag; /* input mode flags */ - unsigned short int c_oflag; /* output mode flags */ - unsigned short int c_cflag; /* control mode flags */ - unsigned short int c_lflag; /* local mode flags */ - unsigned char c_line; /* line discipline */ - unsigned char c_cc[NCC]; /* control characters */ -}; -#endif /* HAVE_STRUCT_TERMIO */ - -#endif /* IOCTL_H__ */ |