提交 3a1ac492 authored 作者: Michael Jerris's avatar Michael Jerris

Fri Jan 16 13:42:36 CST 2009 Pekka Pessi <first.last@nokia.com>

  * torture_bnf.c: fixed warnings from function declarations




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11838 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 63ffde17
......@@ -49,7 +49,7 @@ static int test_flags = 0;
char const name[] = "torture_bnf";
int count_bnf(int bnf_flags)
static int count_bnf(int bnf_flags)
{
int i, n;
......@@ -60,7 +60,7 @@ int count_bnf(int bnf_flags)
return n;
}
int bnf_test(void)
static int bnf_test(void)
{
BEGIN();
TEST_1(IS_TOKEN('a'));
......@@ -92,7 +92,7 @@ int bnf_test(void)
END();
}
int ip_test(void)
static int ip_test(void)
{
BEGIN();
char *s;
......@@ -249,7 +249,7 @@ int ip_test(void)
#include <sofia-sip/hostdomain.h>
int host_test(void)
static int host_test(void)
{
BEGIN();
......@@ -347,7 +347,7 @@ int host_test(void)
END();
}
void usage(int exitcode)
static void usage(int exitcode)
{
fprintf(stderr, "usage: %s [-v] [-a]\n", name);
exit(exitcode);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论