eloop: remove ev_eloop_get_fd()
This function was never used so remove it. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
cfca84f250
commit
56659ce429
@ -811,11 +811,3 @@ int ev_eloop_dispatch(struct ev_eloop *loop, int timeout)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int ev_eloop_get_fd(struct ev_eloop *loop)
|
|
||||||
{
|
|
||||||
if (!loop)
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
return loop->efd;
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Event Loop
|
* Event Loop
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011 David Herrmann <dh.herrmann@googlemail.com>
|
* Copyright (c) 2011-2012 David Herrmann <dh.herrmann@googlemail.com>
|
||||||
* Copyright (c) 2011 University of Tuebingen
|
* Copyright (c) 2011 University of Tuebingen
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
@ -62,7 +62,6 @@ int ev_eloop_new(struct ev_eloop **out);
|
|||||||
void ev_eloop_ref(struct ev_eloop *loop);
|
void ev_eloop_ref(struct ev_eloop *loop);
|
||||||
void ev_eloop_unref(struct ev_eloop *loop);
|
void ev_eloop_unref(struct ev_eloop *loop);
|
||||||
|
|
||||||
int ev_eloop_get_fd(struct ev_eloop *loop);
|
|
||||||
int ev_eloop_dispatch(struct ev_eloop *loop, int timeout);
|
int ev_eloop_dispatch(struct ev_eloop *loop, int timeout);
|
||||||
|
|
||||||
/* eloop sources */
|
/* eloop sources */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user