mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
Linux: make generic xstatver.h the default one
And copy the current default one to required ABIs. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
committed by
Adhemerval Zanella
parent
71e4344f25
commit
fea7abbc23
@@ -1,10 +1,13 @@
|
|||||||
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
||||||
functions. */
|
functions. */
|
||||||
#define _STAT_VER_KERNEL 0
|
#define _STAT_VER_LINUX_OLD 1
|
||||||
#define _STAT_VER_LINUX 0
|
#define _STAT_VER_KERNEL 1
|
||||||
#define _STAT_VER _STAT_VER_KERNEL
|
#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
|
/* Versions of the 'xmknod' interface used in compatibility xmknod
|
||||||
functions. */
|
functions. */
|
||||||
#define _MKNOD_VER_LINUX 0
|
#define _MKNOD_VER_LINUX 1
|
||||||
|
#define _MKNOD_VER_SVR4 2
|
||||||
#define _MKNOD_VER _MKNOD_VER_LINUX
|
#define _MKNOD_VER _MKNOD_VER_LINUX
|
13
sysdeps/unix/sysv/linux/hppa/xstatver.h
Normal file
13
sysdeps/unix/sysv/linux/hppa/xstatver.h
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/* 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
|
13
sysdeps/unix/sysv/linux/sh/xstatver.h
Normal file
13
sysdeps/unix/sysv/linux/sh/xstatver.h
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/* 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
|
@@ -1,13 +1,10 @@
|
|||||||
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
/* Versions of the 'struct stat' data structure used in compatibility xstat
|
||||||
functions. */
|
functions. */
|
||||||
#define _STAT_VER_LINUX_OLD 1
|
#define _STAT_VER_KERNEL 0
|
||||||
#define _STAT_VER_KERNEL 1
|
#define _STAT_VER_LINUX 0
|
||||||
#define _STAT_VER_SVR4 2
|
#define _STAT_VER _STAT_VER_KERNEL
|
||||||
#define _STAT_VER_LINUX 3
|
|
||||||
#define _STAT_VER _STAT_VER_LINUX
|
|
||||||
|
|
||||||
/* Versions of the 'xmknod' interface used in compatibility xmknod
|
/* Versions of the 'xmknod' interface used in compatibility xmknod
|
||||||
functions. */
|
functions. */
|
||||||
#define _MKNOD_VER_LINUX 1
|
#define _MKNOD_VER_LINUX 0
|
||||||
#define _MKNOD_VER_SVR4 2
|
|
||||||
#define _MKNOD_VER _MKNOD_VER_LINUX
|
#define _MKNOD_VER _MKNOD_VER_LINUX
|
||||||
|
Reference in New Issue
Block a user