devd: compile at WARNS=6
Verified with "make universe TARGETS='amd64 arm arm64 i386 sparc64'"
This commit is contained in:
parent
840eb4b2e3
commit
bbaf7ae7ad
@ -7,7 +7,7 @@ PROG_CXX=devd
|
||||
SRCS= devd.cc token.l parse.y y.tab.h
|
||||
MAN= devd.8 devd.conf.5
|
||||
|
||||
WARNS?= 3
|
||||
YFLAGS=-dvi
|
||||
|
||||
NO_SHARED?=YES
|
||||
|
||||
@ -16,7 +16,7 @@ LIBADD= l util
|
||||
YFLAGS+=-v
|
||||
CFLAGS+=-I. -I${.CURDIR}
|
||||
|
||||
CLEANFILES= y.output
|
||||
CLEANFILES= y.output y.tab.i
|
||||
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
@ -173,7 +173,7 @@ delete_and_clear(vector<T *> &v)
|
||||
v.clear();
|
||||
}
|
||||
|
||||
config cfg;
|
||||
static config cfg;
|
||||
|
||||
event_proc::event_proc() : _prio(-1)
|
||||
{
|
||||
@ -902,10 +902,10 @@ create_socket(const char *name, int socktype)
|
||||
return (fd);
|
||||
}
|
||||
|
||||
unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */
|
||||
unsigned int num_clients;
|
||||
static unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */
|
||||
static unsigned int num_clients;
|
||||
|
||||
list<client_t> clients;
|
||||
static list<client_t> clients;
|
||||
|
||||
void
|
||||
notify_clients(const char *data, int len)
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include "devd.h"
|
||||
#include "y.tab.h"
|
||||
|
||||
extern int lineno;
|
||||
int lineno = 1;
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user