Make WARNS=2 build without error.
This commit is contained in:
parent
6bd1173258
commit
b0e30de9d8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=121363
@ -10,7 +10,7 @@ LDADD= -lkiconv
|
|||||||
|
|
||||||
MOUNT= ${.CURDIR}/../mount
|
MOUNT= ${.CURDIR}/../mount
|
||||||
CFLAGS+= -I${MOUNT}
|
CFLAGS+= -I${MOUNT}
|
||||||
WARNS= 0
|
WARNS= 2
|
||||||
|
|
||||||
# Needs to be dynamically linked for optional dlopen() access to
|
# Needs to be dynamically linked for optional dlopen() access to
|
||||||
# userland libiconv
|
# userland libiconv
|
||||||
|
@ -40,6 +40,7 @@ static const char rcsid[] =
|
|||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/module.h>
|
#include <sys/module.h>
|
||||||
#include <sys/iconv.h>
|
#include <sys/iconv.h>
|
||||||
|
#include <sys/linker.h>
|
||||||
|
|
||||||
#include <fs/msdosfs/msdosfsmount.h>
|
#include <fs/msdosfs/msdosfsmount.h>
|
||||||
|
|
||||||
@ -55,7 +56,6 @@ static const char rcsid[] =
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sysexits.h>
|
#include <sysexits.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "mntopts.h"
|
#include "mntopts.h"
|
||||||
|
|
||||||
#define TRANSITION_PERIOD_HACK
|
#define TRANSITION_PERIOD_HACK
|
||||||
|
Loading…
Reference in New Issue
Block a user