]> xenbits.xensource.com Git - libvirt.git/commitdiff
event-test: Remove forward declarations
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Apr 2016 11:47:22 +0000 (13:47 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 18 Apr 2016 14:31:27 +0000 (16:31 +0200)
Most of the functions are no longer in this file. 'usage' does not need
a declaration.

examples/object-events/event-test.c

index 7be1d21e1b3bb4dc8cbe5f2ea549e26a62a783fb..cde2d83b3d94fed5cc892f06a5a69b9c9654a2b3 100644 (file)
 
 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 */