From fda27347d554a2a999fa21cf0a891ced04d29a0b Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 13 Apr 2016 13:47:22 +0200 Subject: [PATCH] event-test: Remove forward declarations Most of the functions are no longer in this file. 'usage' does not need a declaration. --- examples/object-events/event-test.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/examples/object-events/event-test.c b/examples/object-events/event-test.c index 7be1d21e1b..cde2d83b3d 100644 --- a/examples/object-events/event-test.c +++ b/examples/object-events/event-test.c @@ -18,27 +18,6 @@ int run = 1; -/* Prototypes */ -const char *eventToString(int event); -int myEventAddHandleFunc (int fd, int event, - virEventHandleCallback cb, - void *opaque, - virFreeCallback ff); -void myEventUpdateHandleFunc(int watch, int event); -int myEventRemoveHandleFunc(int watch); - -int myEventAddTimeoutFunc(int timeout, - virEventTimeoutCallback cb, - void *opaque, - virFreeCallback ff); -void myEventUpdateTimeoutFunc(int timer, int timout); -int myEventRemoveTimeoutFunc(int timer); - -int myEventHandleTypeToPollEvent(virEventHandleType events); -virEventHandleType myPollEventToEventHandleType(int events); - -void usage(const char *pname); - /* Callback functions */ -- GitLab