[patch]: undelfs.c warning fixes
- From: "Andrew V. Samoilov" <andrew email zp ua>
- To: mc-devel gnome org
- Subject: [patch]: undelfs.c warning fixes
- Date: Sun, 22 Aug 2004 16:52:48 +0300 (EEST)
Hi,
--
Regards,
Andrew V. Samoilov.
vfs/ChangeLog:
* undelfs.c (undelfs_lstat): Adjust declaration.
(undelfs_stat): Make macro.
--- mc/vfs/undelfs.c~ Tue Aug 17 12:53:13 2004
+++ mc/vfs/undelfs.c Sun Aug 22 16:43:27 2004
@@ -575,7 +575,7 @@ undelfs_stat_int (int inode_index, struc
}
static int
-undelfs_lstat(struct vfs_class *me, char *path, struct stat *buf)
+undelfs_lstat (struct vfs_class *me, const char *path, struct stat *buf)
{
int inode_index;
char *file, *f;
@@ -612,12 +612,7 @@ undelfs_lstat(struct vfs_class *me, char
return undelfs_stat_int (inode_index, buf);
}
-static int
-undelfs_stat(struct vfs_class *me, char *path, struct stat *buf)
-{
- return undelfs_lstat (me, path, buf);
-}
-
+#define undelfs_stat undelfs_lstat
static int
undelfs_fstat (void *vfs_info, struct stat *buf)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]