--- gvpe/src/iom.h 2003/03/28 04:05:10 1.6 +++ gvpe/src/iom.h 2003/03/28 05:40:54 1.7 @@ -45,9 +45,9 @@ // register a watcher void reg (int fd, short events, io_watcher *w); - void unreg (const io_watcher *w); + void unreg (io_watcher *w); void reg (time_watcher *w); - void unreg (const time_watcher *w); + void unreg (time_watcher *w); void loop (); @@ -116,7 +116,7 @@ iom.reg (fd, events, this); } - void stop () const + void stop () { iom.unreg (this); } @@ -153,7 +153,7 @@ set (when); } - void stop () const + void stop () { iom.unreg (this); }