summaryrefslogtreecommitdiff
path: root/sysdeps/generic/device-nrs.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-07-21 05:13:40 +0000
committerRoland McGrath <roland@gnu.org>2001-07-21 05:13:40 +0000
commit11c0b1e39ba31c9ab2731dcd846e2335f778a82e (patch)
treed4aaf3e17d513d0cdc63de32b3f851d876cfd417 /sysdeps/generic/device-nrs.h
parentd3ab710cbc49c1bafbfe2dce84a3d9f80a2d8d62 (diff)
* sysdeps/generic/device-nrs.h (DEV_TTY_P): Change argument type
from `dev_t' (st_rdev value) `const struct stat *'. * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Likewise. * libio/filedoalloc.c (_IO_file_doallocate): Change caller. * sysdeps/mach/hurd/device-nrs.h: New file.
Diffstat (limited to 'sysdeps/generic/device-nrs.h')
-rw-r--r--sysdeps/generic/device-nrs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/device-nrs.h b/sysdeps/generic/device-nrs.h
index b0ce6687c6..d9a13e509a 100644
--- a/sysdeps/generic/device-nrs.h
+++ b/sysdeps/generic/device-nrs.h
@@ -1,5 +1,5 @@
/* Device numbers of devices used in the implementation. Generic version.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000,01 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,6 @@
/* By default we know no device numbers. */
/* We cannot check whether a given device is a tty. */
-#define DEV_TTY_P(dev) (0)
+#define DEV_TTY_P(statp) (0)
#endif /* device-nrs.h */