* src/mountlist.c (fstype_to_string): Define only when

`MOUNTED_GETMNTINFO' or `MOUNTED_VMOUNT' is defined.
This commit is contained in:
Pavel Tsekov 2007-08-23 12:33:36 +00:00
parent 82177fe309
commit e6980eb09a
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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)