diff options
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" |