diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-15 13:35:56 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-15 13:35:56 +0300 |
commit | 094638589de6a6c9f91fad0005843fc1c1adc957 (patch) | |
tree | 7d55b9e950eb724da222548997547bf6710b1b58 /contrib/libs/linux-headers/linux/patchkey.h | |
parent | bc921e787bed8a51a43725b78382e806800c44c1 (diff) | |
download | ydb-094638589de6a6c9f91fad0005843fc1c1adc957.tar.gz |
intermediate changes
ref:ca7a95e8c9a9d780f96497136a152091d54e61b5
Diffstat (limited to 'contrib/libs/linux-headers/linux/patchkey.h')
-rw-r--r-- | contrib/libs/linux-headers/linux/patchkey.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/contrib/libs/linux-headers/linux/patchkey.h b/contrib/libs/linux-headers/linux/patchkey.h deleted file mode 100644 index b4f0ede9a17..00000000000 --- a/contrib/libs/linux-headers/linux/patchkey.h +++ /dev/null @@ -1,34 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * <linux/patchkey.h> -- definition of _PATCHKEY macro - * - * Copyright (C) 2005 Stuart Brady - * - * This exists because awe_voice.h defined its own _PATCHKEY and it wasn't - * clear whether removing this would break anything in userspace. - * - * Do not include this file directly. Please use <sys/soundcard.h> instead. - * For kernel code, use <linux/soundcard.h> - */ - -#ifndef _LINUX_PATCHKEY_H_INDIRECT -#error "patchkey.h included directly" -#endif - -#ifndef _LINUX_PATCHKEY_H -#define _LINUX_PATCHKEY_H - -/* Endian macros. */ -# include <endian.h> - -#if defined(__BYTE_ORDER) -# if __BYTE_ORDER == __BIG_ENDIAN -# define _PATCHKEY(id) (0xfd00|id) -# elif __BYTE_ORDER == __LITTLE_ENDIAN -# define _PATCHKEY(id) ((id<<8)|0x00fd) -# else -# error "could not determine byte order" -# endif -#endif - -#endif /* _LINUX_PATCHKEY_H */ |