mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 08:40:07 +00:00
589260cef8
This patch removes the mknod and mknodat static wrapper and add the symbols on the libc with the expected names. Both the prototypes of the internal symbol linked by the static wrappers and the inline redirectors are also removed from the installed sys/stat.h header file. The wrapper implementation license LGPL exception is also removed since it is no longer statically linked to binaries. Internally the _STAT_VER* definitions are moved to the arch-specific xstatver.h file. Checked with a build for all affected ABIs. I also checked on x86_64, i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x. Reviewed-by: Lukasz Majewski <lukma@denx.de>
15 lines
449 B
C
15 lines
449 B
C
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
|
functions. */
|
|
#define _STAT_VER_KERNEL 0
|
|
#define _STAT_VER_GLIBC2 1
|
|
#define _STAT_VER_GLIBC2_1 2
|
|
#define _STAT_VER_KERNEL64 3
|
|
#define _STAT_VER_GLIBC2_3_4 3
|
|
#define _STAT_VER_LINUX 3
|
|
#define _STAT_VER _STAT_VER_LINUX
|
|
|
|
/* Versions of the 'xmknod' interface used in compatibility xmknod
|
|
functions. */
|
|
#define _MKNOD_VER_LINUX 0
|
|
#define _MKNOD_VER _MKNOD_VER_LINUX
|