mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 23:28:57 +00:00
mount_ntfs(8): make WARNS=6 clean
PR: bin/140000 Approved by: ed (co-mentor)
This commit is contained in:
parent
9ee81f583a
commit
115d0d95a1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204404
@ -9,8 +9,7 @@ DPADD= ${LIBKICONV}
|
||||
LDADD= -lkiconv
|
||||
|
||||
MOUNT= ${.CURDIR}/../mount
|
||||
CFLAGS+=-I${MOUNT}
|
||||
WARNS?= 0
|
||||
CFLAGS+= -I${MOUNT}
|
||||
|
||||
# Needs to be dynamically linked for optional dlopen() access to
|
||||
# userland libiconv
|
||||
|
@ -69,9 +69,7 @@ static void usage(void) __dead2;
|
||||
static int set_charset(struct ntfs_args *);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
struct ntfs_args args;
|
||||
struct stat sb;
|
||||
@ -193,8 +191,7 @@ main(argc, argv)
|
||||
}
|
||||
|
||||
gid_t
|
||||
a_gid(s)
|
||||
char *s;
|
||||
a_gid(char *s)
|
||||
{
|
||||
struct group *gr;
|
||||
char *gname;
|
||||
@ -213,8 +210,7 @@ a_gid(s)
|
||||
}
|
||||
|
||||
uid_t
|
||||
a_uid(s)
|
||||
char *s;
|
||||
a_uid(char *s)
|
||||
{
|
||||
struct passwd *pw;
|
||||
char *uname;
|
||||
@ -233,8 +229,7 @@ a_uid(s)
|
||||
}
|
||||
|
||||
mode_t
|
||||
a_mask(s)
|
||||
char *s;
|
||||
a_mask(char *s)
|
||||
{
|
||||
int done, rv=0;
|
||||
char *ep;
|
||||
@ -250,7 +245,7 @@ a_mask(s)
|
||||
}
|
||||
|
||||
void
|
||||
usage()
|
||||
usage(void)
|
||||
{
|
||||
#ifdef TRANSITION_PERIOD_HACK
|
||||
fprintf(stderr, "%s\n%s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user