Add some function declarations to header

Previously they were being used without a prototype,
which was causing a compile warning.
This commit is contained in:
Ray Strode 2008-11-06 10:47:27 -05:00
parent faeabda5f4
commit 0e47e4c6a8
2 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,8 @@ double ply_progress_get_percentage (ply_progress_t* progress);
double ply_progress_get_time (ply_progress_t* progress);
void ply_progress_save_cache (ply_progress_t* progress);
void ply_progress_status_update (ply_progress_t* progress, const char *status);
void ply_progress_pause (ply_progress_t *progress);
void ply_progress_unpause (ply_progress_t *progress);
#endif /* PLY_PROGRESS_H */
/* vim: set ts=4 sw=4 expandtab autoindent cindent cino={.5s,(0: */

View file

@ -29,6 +29,7 @@
#include "ply-event-loop.h"
#include "ply-window.h"
#include "ply-buffer.h"
#include "ply-progress.h"
#include "ply-boot-splash-plugin.h"
typedef struct _ply_boot_splash ply_boot_splash_t;
@ -59,6 +60,8 @@ void ply_boot_splash_ask_for_password (ply_boot_splash_t *splash,
void ply_boot_splash_hide (ply_boot_splash_t *splash);
void ply_boot_splash_attach_to_event_loop (ply_boot_splash_t *splash,
ply_event_loop_t *loop);
void ply_boot_splash_attach_progress (ply_boot_splash_t *splash,
ply_progress_t *progress);
void ply_boot_splash_become_idle (ply_boot_splash_t *splash,
ply_boot_splash_on_idle_handler_t idle_handler,
void *user_data);