---
examples/object-events/event-test.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/examples/object-events/event-test.c b/examples/object-events/event-test.c
index e3f0330..63629c2 100644
--- a/examples/object-events/event-test.c
+++ b/examples/object-events/event-test.c
@@ -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;
}
--
2.8.0