From 5cb8c15669c5ac51b5aa9e33671fef7dcc0916b5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 7 Jan 2001 19:31:50 +0000 Subject: doc/ 2001-01-07 Marcus Brinkmann * hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const. ext2fs/ 2001-01-07 Marcus Brinkmann * dir.c: Make diskfs_dirstat_size const. isofs/ 2001-01-07 Marcus Brinkmann * lookup.c: Make diskfs_dirstat_size const. ufs/ 2001-01-07 Marcus Brinkmann * dir.c: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann * diskfs.h: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann * file-statfs.c: Include . ftpfs/ 2001-01-07 Marcus Brinkmann * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). 2001-01-07 Marcus Brinkmann * copy.c: Include . 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. --- libdiskfs/ChangeLog | 8 ++++++++ libdiskfs/diskfs.h | 2 +- libdiskfs/file-statfs.c | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) (limited to 'libdiskfs') 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 + + * diskfs.h: Make diskfs_dirstat_size const. + +2001-01-07 Marcus Brinkmann + + * file-statfs.c: Include . + 2000-12-26 Roland McGrath * 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 #include #include "priv.h" -- cgit v1.2.3