mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
lib: Make fpi_poll_is_setup() private
As it's not used in other parts of the library after the changes in
commit 422f81b.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user