Add -Wmissing-prototypes.
This commit is contained in:
parent
0fbf304b54
commit
4996f02545
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65892
@ -3,11 +3,11 @@
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 4
|
||||
SHLIB_MINOR= 0
|
||||
CFLAGS+= -Wall -I${.CURDIR}
|
||||
CFLAGS+= -Wall -Wmissing-prototypes
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_pptp.c alias_proxy.c alias_smedia.c \
|
||||
alias_util.c
|
||||
INCS= alias.h
|
||||
MAN3= libalias.3
|
||||
MAN3= libalias.3
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -114,7 +114,8 @@
|
||||
|
||||
#define ISDIGIT(a) (((a) >= '0') && ((a) <= '9'))
|
||||
|
||||
int search_string(char *data, int dlen, char *search_str)
|
||||
static int
|
||||
search_string(char *data, int dlen, char *search_str)
|
||||
{
|
||||
int i, j, k;
|
||||
int search_str_len;
|
||||
@ -134,7 +135,8 @@ int search_string(char *data, int dlen, char *search_str)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int alias_rtsp_out(struct ip *pip,
|
||||
static int
|
||||
alias_rtsp_out(struct ip *pip,
|
||||
struct alias_link *link,
|
||||
char *data,
|
||||
char *port_str)
|
||||
@ -315,7 +317,8 @@ int alias_rtsp_out(struct ip *pip,
|
||||
|
||||
/* Support the protocol used by early versions of RealPlayer */
|
||||
|
||||
int alias_pna_out(struct ip *pip,
|
||||
static int
|
||||
alias_pna_out(struct ip *pip,
|
||||
struct alias_link *link,
|
||||
char *data,
|
||||
int dlen)
|
||||
|
@ -3,11 +3,11 @@
|
||||
LIB= alias
|
||||
SHLIB_MAJOR= 4
|
||||
SHLIB_MINOR= 0
|
||||
CFLAGS+= -Wall -I${.CURDIR}
|
||||
CFLAGS+= -Wall -Wmissing-prototypes
|
||||
SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \
|
||||
alias_nbt.c alias_pptp.c alias_proxy.c alias_smedia.c \
|
||||
alias_util.c
|
||||
INCS= alias.h
|
||||
MAN3= libalias.3
|
||||
MAN3= libalias.3
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -114,7 +114,8 @@
|
||||
|
||||
#define ISDIGIT(a) (((a) >= '0') && ((a) <= '9'))
|
||||
|
||||
int search_string(char *data, int dlen, char *search_str)
|
||||
static int
|
||||
search_string(char *data, int dlen, char *search_str)
|
||||
{
|
||||
int i, j, k;
|
||||
int search_str_len;
|
||||
@ -134,7 +135,8 @@ int search_string(char *data, int dlen, char *search_str)
|
||||
return -1;
|
||||
}
|
||||
|
||||
int alias_rtsp_out(struct ip *pip,
|
||||
static int
|
||||
alias_rtsp_out(struct ip *pip,
|
||||
struct alias_link *link,
|
||||
char *data,
|
||||
char *port_str)
|
||||
@ -315,7 +317,8 @@ int alias_rtsp_out(struct ip *pip,
|
||||
|
||||
/* Support the protocol used by early versions of RealPlayer */
|
||||
|
||||
int alias_pna_out(struct ip *pip,
|
||||
static int
|
||||
alias_pna_out(struct ip *pip,
|
||||
struct alias_link *link,
|
||||
char *data,
|
||||
int dlen)
|
||||
|
Loading…
Reference in New Issue
Block a user