X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpoll-loop.h;h=89c8e573e71d51e5212035dae2ac78d5634b707b;hb=0c30c8f1c419811cbb5fdc441af95ba3f763f0ff;hp=341d063b5f72c67d5b206298ae6d9477baac33d6;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/lib/poll-loop.h b/lib/poll-loop.h index 341d063b..89c8e573 100644 --- a/lib/poll-loop.h +++ b/lib/poll-loop.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Nicira Networks. + * Copyright (c) 2008, 2009 Nicira Networks. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -44,11 +44,6 @@ void poll_immediate_wake(void); /* Wait until an event occurs. */ void poll_block(void); -/* Autonomous function callbacks. */ -typedef void poll_fd_func(int fd, short int revents, void *aux); -struct poll_waiter *poll_fd_callback(int fd, short int events, - poll_fd_func *, void *aux); - /* Cancel a file descriptor callback or event. */ void poll_cancel(struct poll_waiter *);