mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
- fix compilation failure due to implicit decl of resolve_mount_spec().
DCE DTRT so remove the wrong guard.
This commit is contained in:
parent
1acb4ef87e
commit
51f421a55c
@ -248,7 +248,6 @@ static int verbose_mount(const char *source, const char *target,
|
||||
#define verbose_mount(...) mount(__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
#if ENABLE_FEATURE_MOUNT_LABEL
|
||||
static int resolve_mount_spec(char **fsname)
|
||||
{
|
||||
char *tmp = NULL;
|
||||
@ -264,7 +263,6 @@ static int resolve_mount_spec(char **fsname)
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Append mount options to string */
|
||||
static void append_mount_options(char **oldopts, const char *newopts)
|
||||
|
Loading…
Reference in New Issue
Block a user