mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-01 13:45:29 +03:00
* src/mountlist.c (fstype_to_string): Define only when
`MOUNTED_GETMNTINFO' or `MOUNTED_VMOUNT' is defined.
This commit is contained in:
parent
82177fe309
commit
e6980eb09a
@ -1,3 +1,8 @@
|
||||
2007-08-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* mountlist.c (fstype_to_string): Define only when
|
||||
`MOUNTED_GETMNTINFO' or `MOUNTED_VMOUNT' is defined.
|
||||
|
||||
2007-05-02 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* cmd.c (dirsizes_cmd): Re-sort the panel when done.
|
||||
|
@ -173,6 +173,8 @@ static int xatoi (const char *cp)
|
||||
}
|
||||
#endif /* MOUNTED_GETMNTENT1 */
|
||||
|
||||
#if MOUNTED_GETMNTINFO
|
||||
|
||||
#ifndef HAVE_STRUCT_STATFS_F_FSTYPENAME
|
||||
static char *fstype_to_string (short t)
|
||||
{
|
||||
@ -267,6 +269,8 @@ static char *fstype_to_string (short t)
|
||||
}
|
||||
#endif /* ! HAVE_STRUCT_STATFS_F_FSTYPENAME */
|
||||
|
||||
#endif /* MOUNTED_GETMNTINFO */
|
||||
|
||||
#ifdef MOUNTED_VMOUNT /* AIX. */
|
||||
static char *
|
||||
fstype_to_string (int t)
|
||||
|
Loading…
x
Reference in New Issue
Block a user