diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 19:31:50 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 19:31:50 +0000 |
commit | 5cb8c15669c5ac51b5aa9e33671fef7dcc0916b5 (patch) | |
tree | 624d306c3a3ca22d419c6d3926557e72fd76f871 /libdiskfs | |
parent | 1b062b32391b5ec34652853eddaa79ab9d625cc1 (diff) |
doc/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const.
ext2fs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
isofs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* lookup.c: Make diskfs_dirstat_size const.
ufs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* file-statfs.c: Include <string.h>.
ftpfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c (ftpfs_dir_create): Fix last change (calloc invocation).
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* copy.c: Include <mach.h>. New macro page_aligned.
(copy_write): Cast buf to vm_address_t in call to vm_write.
Dereference amount for memcpy.
(copy_read): Add len parameter to vm_read, remove redundant following
len assignment.
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/ChangeLog | 8 | ||||
-rw-r--r-- | libdiskfs/diskfs.h | 2 | ||||
-rw-r--r-- | libdiskfs/file-statfs.c | 1 |
3 files changed, 10 insertions, 1 deletions
diff --git a/libdiskfs/ChangeLog b/libdiskfs/ChangeLog index 459aa5d3..614f7889 100644 --- a/libdiskfs/ChangeLog +++ b/libdiskfs/ChangeLog @@ -1,3 +1,11 @@ +2001-01-07 Marcus Brinkmann <marcus@gnu.org> + + * diskfs.h: Make diskfs_dirstat_size const. + +2001-01-07 Marcus Brinkmann <marcus@gnu.org> + + * file-statfs.c: Include <string.h>. + 2000-12-26 Roland McGrath <roland@frob.com> * file-statfs.c (diskfs_S_file_statfs): Zero out the struct statfs diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h index d0c745f6..5d4072c0 100644 --- a/libdiskfs/diskfs.h +++ b/libdiskfs/diskfs.h @@ -193,7 +193,7 @@ struct dirstat; /* The user must define this variable; it should be the size in bytes of a struct dirstat. */ -extern size_t diskfs_dirstat_size; +extern const size_t diskfs_dirstat_size; /* The user must define this variable; it is the maximum number of links to any one file. The implementation of dir_rename does not know diff --git a/libdiskfs/file-statfs.c b/libdiskfs/file-statfs.c index 62eaf67b..817b0115 100644 --- a/libdiskfs/file-statfs.c +++ b/libdiskfs/file-statfs.c @@ -15,6 +15,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <string.h> #include <sys/statvfs.h> #include "priv.h" |