X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/42cf115660f3852e9cc3b91bd79b852a99d13065..cff78812ebbcab7601919f479447150fb7c2c9f4:/ev_port.c diff --git a/ev_port.c b/ev_port.c index fb25dff..d051671 100644 --- a/ev_port.c +++ b/ev_port.c @@ -10,8 +10,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -120,7 +118,7 @@ port_init (EV_P_ int flags) port_eventmax = 64; /* intiial number of events receivable per poll */ port_events = (port_event_t *)ev_malloc (sizeof (port_event_t) * port_eventmax); - return EVMETHOD_PORT; + return EVBACKEND_PORT; } static void