about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/getpt.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/getpt.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/getpt.c')
-rw-r--r--sysdeps/unix/sysv/linux/getpt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/getpt.c b/sysdeps/unix/sysv/linux/getpt.c
index e6cfd18951..3b01ef561e 100644
--- a/sysdeps/unix/sysv/linux/getpt.c
+++ b/sysdeps/unix/sysv/linux/getpt.c
@@ -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"