summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/fs_notify.defs10
-rw-r--r--hurd/hurd_types.h7
2 files changed, 11 insertions, 6 deletions
diff --git a/hurd/fs_notify.defs b/hurd/fs_notify.defs
index 47ee2df0..ce53eb44 100644
--- a/hurd/fs_notify.defs
+++ b/hurd/fs_notify.defs
@@ -1,5 +1,5 @@
/* Miscellaneous callbacks from Hurd fs servers to their clients.
- Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1991,92,93,94,95,2002 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-The GNU Hurd is distributed in the hope that it will be useful,
+The GNU Hurd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@@ -26,7 +26,7 @@ FS_NOTIFY_IMPORTS
#endif
-/* This is sent by a filesystem (after being requested with
+/* This is sent by a filesystem (after being requested with
dir_notice_changes) every time a directory is changed.
CHANGE identifies the sort of change that has occurred (see hurd_types.h);
NAME is the name that was changed. */
@@ -42,5 +42,5 @@ routine dir_changed (
routine file_changed (
notify_port: mach_port_t;
change: file_changed_type_t;
- start: off_t;
- end: off_t);
+ start: loff_t;
+ end: loff_t);
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index 82b88d32..b957a0bf 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -57,12 +57,17 @@ typedef int *fd_mask_t;
typedef mach_port_t *portarray_t;
typedef pid_t *pidarray_t;
typedef uid_t *idarray_t;
-typedef off_t *off_array_t;
+typedef loff_t *off_array_t;
typedef struct rusage rusage_t;
typedef struct flock flock_t;
typedef struct utsname utsname_t;
+#if _FILE_OFFSET_BITS == 64
typedef struct stat io_statbuf_t;
typedef struct statfs fsys_statfsbuf_t;
+#else
+typedef struct stat64 io_statbuf_t;
+typedef struct statfs64 fsys_statfsbuf_t;
+#endif
/* Parameters and flags in RPC calls */