提交 6e71d1e8 编写于 作者: P Peter Krempa

event-test: Remove unnecessary 'usage' function

上级 e1389f39
......@@ -579,12 +579,6 @@ static void myFreeFunc(void *opaque)
/* main test functions */
void usage(const char *pname)
{
printf("%s uri\n", pname);
}
static void stop(int sig)
{
printf("Exiting on signal %d\n", sig);
......@@ -622,7 +616,7 @@ int main(int argc, char **argv)
action_stop.sa_handler = stop;
if (argc > 1 && STREQ(argv[1], "--help")) {
usage(argv[0]);
printf("%s uri\n", argv[0]);
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册