diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-15 19:21:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-15 19:21:10 +0000 |
commit | afdda55ad55b49ee46e42976c42978460907baad (patch) | |
tree | aab28263e8088cf18d978a5ee967a21f2232eeea /sysdeps/unix/sysv/linux/shm_open.c | |
parent | 150f740ace60e238094cde1ecf03e5c1c0e0d3ff (diff) | |
download | glibc-afdda55ad55b49ee46e42976c42978460907baad.tar.gz glibc-afdda55ad55b49ee46e42976c42978460907baad.tar.xz glibc-afdda55ad55b49ee46e42976c42978460907baad.zip |
Update.
2000-04-14 Andreas Jaeger <aj@suse.de> * 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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/shm_open.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/shm_open.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 <sys/mman.h> #include <sys/statfs.h> #include <bits/libc-lock.h> +#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 { |