mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +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>
14 lines
416 B
C
14 lines
416 B
C
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
|
functions. */
|
|
#define _STAT_VER_LINUX_OLD 1
|
|
#define _STAT_VER_KERNEL 1
|
|
#define _STAT_VER_SVR4 2
|
|
#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 1
|
|
#define _MKNOD_VER_SVR4 2
|
|
#define _MKNOD_VER _MKNOD_VER_LINUX
|