Split online help code into a separate function

Reintroduce help.c and move the online help code into a new function
display_help().

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2013-07-18 11:29:10 +02:00
parent beac8bdd9b
commit f36484f404
4 changed files with 149 additions and 100 deletions

View File

@@ -723,6 +723,9 @@ void event_paste_item(struct event *, long);
enum getstr getstring(WINDOW *, char *, int, int, int);
int updatestring(WINDOW *, char **, int, int);
/* help.c */
int display_help(const char *);
/* ical.c */
void ical_import_data(FILE *, FILE *, unsigned *, unsigned *, unsigned *,
unsigned *, unsigned *);