diff options
author | Frederic Culot <calcurse@culot.org> | 2008-04-12 21:14:03 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-04-12 21:14:03 +0000 |
commit | efd782699b63038a36bf68eaa1230d2d10bd9b38 (patch) | |
tree | a8bf286c6aa9bbfc12192cefed63a98567a3f010 /src/event.h | |
parent | 0c281d2c1e53248f0075f988fb4ba02f041bd170 (diff) | |
download | calcurse-efd782699b63038a36bf68eaa1230d2d10bd9b38.zip |
Yet another style for source code. GNU style now used (I am fed up with tabs...)
Diffstat (limited to 'src/event.h')
-rwxr-xr-x | src/event.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/src/event.h b/src/event.h index 1de4306..6c6c2d6 100755 --- a/src/event.h +++ b/src/event.h @@ -1,4 +1,4 @@ -/* $calcurse: event.h,v 1.5 2008/01/20 10:45:38 culot Exp $ */ +/* $calcurse: event.h,v 1.6 2008/04/12 21:14:03 culot Exp $ */ /* * Calcurse - text-based organizer @@ -32,21 +32,22 @@ #define HRMIN_SIZE 6 #define MESG_MAXSIZE 256 -struct event_s { - struct event_s *next; - int id; /* event identifier */ - long day; /* seconds since 1 jan 1970 */ - char *mesg; - char *note; +struct event_s +{ + struct event_s *next; + int id; /* event identifier */ + long day; /* seconds since 1 jan 1970 */ + char *mesg; + char *note; }; extern struct event_s *eventlist; -struct event_s *event_new(char *, char *, long, int); -unsigned event_inday(struct event_s *, long); -void event_write(struct event_s *, FILE *); -struct event_s *event_scan(FILE *, struct tm, int, char *); -struct event_s *event_get(long, int); -void event_delete_bynum(long, unsigned, erase_flag_e); +struct event_s *event_new (char *, char *, long, int); +unsigned event_inday (struct event_s *, long); +void event_write (struct event_s *, FILE *); +struct event_s *event_scan (FILE *, struct tm, int, char *); +struct event_s *event_get (long, int); +void event_delete_bynum (long, unsigned, erase_flag_e); #endif /* CALCURSE_EVENT_H */ |