Include linux_fsinfo.h instead of defining *_SUPER_MAGIC.

This commit is contained in:
Ulrich Drepper 1999-11-18 16:43:37 +00:00
parent c17e637380
commit 916d5ded93
2 changed files with 2 additions and 10 deletions

View File

@ -24,11 +24,7 @@
#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"

View File

@ -20,11 +20,7 @@
#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'