diff options
author | Adhemerval Zanella Netto <adhemerval.zanella@linaro.org> | 2022-10-19 19:14:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-12-07 14:33:47 -0300 |
commit | 71e4344f2568c53d7d7a122ae2b4196c1d2b8ae0 (patch) | |
tree | 34754b50cd6423f070581ebf2ee5a018f9790f11 /sysdeps/unix/sysv/linux/generic | |
parent | 127945c561535be3975d418fa8f85334a76c298c (diff) | |
download | glibc-71e4344f2568c53d7d7a122ae2b4196c1d2b8ae0.tar.gz glibc-71e4344f2568c53d7d7a122ae2b4196c1d2b8ae0.tar.xz glibc-71e4344f2568c53d7d7a122ae2b4196c1d2b8ae0.zip |
Linux: Remove generic sysdep
The includes chain is added on each architecture sysdep.h and the __NR__llseek hack is moved to lseek.c and lseek64.c. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic')
-rw-r--r-- | sysdeps/unix/sysv/linux/generic/sysdep.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/sysdep.h b/sysdeps/unix/sysv/linux/generic/sysdep.h deleted file mode 100644 index 7af5cb4e16..0000000000 --- a/sysdeps/unix/sysv/linux/generic/sysdep.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2011-2022 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - <https://www.gnu.org/licenses/>. */ - -#include <bits/wordsize.h> -#include <kernel-features.h> -#include <sysdeps/unix/sysdep.h> -#include <sysdeps/unix/sysv/linux/sysdep.h> - -/* Provide the common name to allow more code reuse. */ -#ifdef __NR_llseek -# define __NR__llseek __NR_llseek -#endif |