diff options
author | jcid <devnull@localhost> | 2007-11-17 15:18:35 +0100 |
---|---|---|
committer | jcid <devnull@localhost> | 2007-11-17 15:18:35 +0100 |
commit | 9fce735bdcebd04957360f4b673b1dfe4645f0af (patch) | |
tree | 4d4321f2f1ba3aa089e61b48bf3812415bc76e1a /dpi/downloads.cc | |
parent | dfd741a2a60c8013cf96666bb9f24408b863790e (diff) |
Added the "static" qualifier where missing.
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r-- | dpi/downloads.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index afadee2b..b9c89941 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -654,7 +654,7 @@ void DLItem::child_finished(int status) /* * Convert seconds into human readable [hour]:[min]:[sec] string. */ -void secs2timestr(int et, char *str) +static void secs2timestr(int et, char *str) { int eh, em, es; @@ -743,13 +743,13 @@ void DLItem::update() /*! SIGCHLD handler */ -void raw_sigchld(int) +static void raw_sigchld(int) { caught_sigchld = 1; } /*! Establish SIGCHLD handler */ -void est_sigchld(void) +static void est_sigchld(void) { struct sigaction sigact; sigset_t set; @@ -767,7 +767,7 @@ void est_sigchld(void) /* * Timeout function to check wget's exit status. */ -void cleanup_cb(void *data) +static void cleanup_cb(void *data) { DLItemList *list = (DLItemList *)data; @@ -793,7 +793,7 @@ void cleanup_cb(void *data) * Timeout function to update the widget indicators, * also remove widgets marked "done". */ -void update_cb(void *data) +static void update_cb(void *data) { static int cb_used = 0; |