From 65364d2e2f40807fdd03ade25917f728adc0ef77 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 11 Jan 2015 02:02:07 +0100 Subject: coding rules: stop at 78 cols Signed-off-by: Olivier Gayot --- entry.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'entry.h') diff --git a/entry.h b/entry.h index daa1e5d..aa66d95 100644 --- a/entry.h +++ b/entry.h @@ -5,9 +5,12 @@ #include "players.h" #include "target.h" +typedef void (*action_f)(SURFACES *, POSITIONS *, struct chr_t *src, + struct target_t *, void *data); + struct action_t { void *data; - void (*f)(SURFACES *, POSITIONS *, struct character_t *, struct target_t *, void *data); + action_f f; enum target_type_t target; }; @@ -31,7 +34,7 @@ struct action_params_t { struct team_t *t1; struct team_t *t2; - struct character_t *src; + struct chr_t *src; }; #endif /* ENTRY_H */ -- cgit v1.2.3