From afdda55ad55b49ee46e42976c42978460907baad Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 15 Apr 2000 19:21:10 +0000 Subject: Update. 2000-04-14 Andreas Jaeger * sysdeps/unix/sysv/linux/shm_open.c: Include linux_fsinfo for SHMFS_SUPER_MAGIC. Remove definition of SHMFS_SUPER_MAGIC. * sysdeps/unix/sysv/linux/linux_fsinfo.h (SHMFS_SUPER_MAGIC): Added. --- sysdeps/unix/sysv/linux/shm_open.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sysdeps/unix/sysv/linux/shm_open.c') diff --git a/sysdeps/unix/sysv/linux/shm_open.c b/sysdeps/unix/sysv/linux/shm_open.c index ca24424b78..774775b6e0 100644 --- a/sysdeps/unix/sysv/linux/shm_open.c +++ b/sysdeps/unix/sysv/linux/shm_open.c @@ -27,14 +27,9 @@ #include #include #include +#include "linux_fsinfo.h" -/* XXX Currently the Linux kernel sources do not define a super magic number - for the shmfs and the kernel assigns the value 0 to f_type. */ -#ifndef SHMFS_SUPER_MAGIC -# define SHMFS_SUPER_MAGIC 0 -#endif - /* Mount point of the shared memory filesystem. */ static struct { -- cgit v1.2.1