summaryrefslogtreecommitdiff
path: root/src/timers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timers.h')
-rw-r--r--src/timers.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/timers.h b/src/timers.h
index 5cce160..a4243ca 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -26,22 +26,19 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef TIMERS_H
#define TIMERS_H
-struct __fehtimer
-{
- char *name;
- void (*func) (void *data);
- void *data;
- double in;
- char just_added;
- fehtimer next;
+struct __fehtimer {
+ char *name;
+ void (*func) (void *data);
+ void *data;
+ double in;
+ char just_added;
+ fehtimer next;
};
void feh_handle_timer(void);
double feh_get_time(void);
void feh_remove_timer(char *name);
-void feh_add_timer(void (*func) (void *data), void *data, double in,
-
- char *name);
+void feh_add_timer(void (*func) (void *data), void *data, double in, char *name);
void feh_add_unique_timer(void (*func) (void *data), void *data, double in);
extern fehtimer first_timer;