Commit 5d4a5981 authored by Bastien Nocera's avatar Bastien Nocera

lib: Make fpi_poll_is_setup() private

As it's not used in other parts of the library after the changes in
commit 422f81b6.
parent 0fcb4533
......@@ -89,6 +89,8 @@ struct fpi_timeout {
char *name;
};
static gboolean fpi_poll_is_setup(void);
static int timeout_sort_fn(gconstpointer _a, gconstpointer _b)
{
fpi_timeout *a = (fpi_timeout *) _a;
......@@ -483,7 +485,7 @@ void fpi_poll_exit(void)
libusb_set_pollfd_notifiers(fpi_usb_ctx, NULL, NULL, NULL);
}
gboolean
static gboolean
fpi_poll_is_setup(void)
{
return (fd_added_cb != NULL && fd_removed_cb != NULL);
......
......@@ -48,6 +48,4 @@ void fpi_timeout_set_name(fpi_timeout *timeout,
const char *name);
void fpi_timeout_cancel(fpi_timeout *timeout);
gboolean fpi_poll_is_setup(void);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment