diff options
-rw-r--r-- | src/loader.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/loader.c b/src/loader.c index 9afeeb2..40f3802 100644 --- a/src/loader.c +++ b/src/loader.c @@ -21,6 +21,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include <pthread.h> #include <signal.h> +static void block_usr1_signal(void); +static int is_thread_cancelled(void); +static void *bg_new_img(void *data); +static void *bg_next_frame(void *data); +static void error_occurred(struct imv_loader *ldr); + static void block_usr1_signal(void) { sigset_t sigmask; @@ -61,9 +67,6 @@ void imv_destroy_loader(struct imv_loader *ldr) } } -static void *bg_new_img(void *data); -static void *bg_next_frame(void *data); - void imv_loader_load_path(struct imv_loader *ldr, const char *path) { /* cancel existing thread if already running */ |