mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-19 07:00:08 +00:00
Include linux_fsinfo.h instead of defining *_SUPER_MAGIC.
This commit is contained in:
parent
c17e637380
commit
916d5ded93
@ -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"
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user