about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/grantpt.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-18 16:42:11 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-18 16:42:11 +0000
commit1503837c6a8776ba39efb0c93b9edc1b70284020 (patch)
tree6b3e11cddc0f04e95a0238acf7e0dbc7fde757b5 /sysdeps/unix/sysv/linux/grantpt.c
parent643e9936eb83f4c7431072ab60a207de35d382f1 (diff)
downloadglibc-1503837c6a8776ba39efb0c93b9edc1b70284020.tar.gz
glibc-1503837c6a8776ba39efb0c93b9edc1b70284020.tar.xz
glibc-1503837c6a8776ba39efb0c93b9edc1b70284020.zip
Update.
1999-11-18  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
	comments.

	* sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
	of defining *_SUPER_MAGIC.
	* sysdeps/unix/sysv/linux/grantpt.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/grantpt.c')
-rw-r--r--sysdeps/unix/sysv/linux/grantpt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/grantpt.c b/sysdeps/unix/sysv/linux/grantpt.c
index c6252eaf79..0473f357b3 100644
--- a/sysdeps/unix/sysv/linux/grantpt.c
+++ b/sysdeps/unix/sysv/linux/grantpt.c
@@ -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'