]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Include linux_fsinfo.h instead of defining *_SUPER_MAGIC.
authorUlrich Drepper <drepper@redhat.com>
Thu, 18 Nov 1999 16:43:37 +0000 (16:43 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 18 Nov 1999 16:43:37 +0000 (16:43 +0000)
sysdeps/unix/sysv/linux/getpt.c
sysdeps/unix/sysv/linux/grantpt.c

index e6cfd18951cdd835c86195e70a5b101b508e8b16..3b01ef561e87a72d84f24260daf35486b3729e91 100644 (file)
 #include <paths.h>
 #include <sys/statfs.h>
 
-/* Constant that identifies the `devpts' filesystem.  */
-#define DEVPTS_SUPER_MAGIC     0x1cd1
-
-/* Constant that identifies the `devfs' filesystem.  */
-#define DEVFS_SUPER_MAGIC      0x1373
+#include "linux_fsinfo.h"
 
 /* Path to the master pseudo terminal cloning device.  */
 #define _PATH_DEVPTMX _PATH_DEV "ptmx"
index c6252eaf79777bb243fd0d8a24da158b03ef22c6..0473f357b3237f06366d8bd383d763de97ee7747 100644 (file)
 #include <stdlib.h>
 #include <sys/statfs.h>
 
-/* Constant that identifies the `devpts' filesystem.  */
-#define DEVPTS_SUPER_MAGIC     0x1cd1
-
-/* Constant that identifies the `devfs' filesystem.  */
-#define DEVFS_SUPER_MAGIC      0x1373
+#include "linux_fsinfo.h"
 
 /* Prototype for function that changes ownership and access permission
    for slave pseudo terminals that do not live on a `devpts'