From 916d5ded931d70402b6a6ae2c05dc7b03ebab48d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 18 Nov 1999 16:43:37 +0000 Subject: [PATCH] Include linux_fsinfo.h instead of defining *_SUPER_MAGIC. --- sysdeps/unix/sysv/linux/getpt.c | 6 +----- sysdeps/unix/sysv/linux/grantpt.c | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/sysdeps/unix/sysv/linux/getpt.c b/sysdeps/unix/sysv/linux/getpt.c index e6cfd18951c..3b01ef561e8 100644 --- a/sysdeps/unix/sysv/linux/getpt.c +++ b/sysdeps/unix/sysv/linux/getpt.c @@ -24,11 +24,7 @@ #include #include -/* 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" diff --git a/sysdeps/unix/sysv/linux/grantpt.c b/sysdeps/unix/sysv/linux/grantpt.c index c6252eaf797..0473f357b32 100644 --- a/sysdeps/unix/sysv/linux/grantpt.c +++ b/sysdeps/unix/sysv/linux/grantpt.c @@ -20,11 +20,7 @@ #include #include -/* 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' -- 2.47.2