Split note file generation into separate function

We currently use this in one place only but might reuse this a couple of
times later (when migrating to libical).

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-01-17 00:41:19 +01:00
parent 5dc443fc3d
commit a79a33e8f4
3 changed files with 23 additions and 12 deletions

View File

@@ -779,6 +779,7 @@ void mem_stats (void);
#endif /* CALCURSE_MEMORY_DEBUG */
/* note.c */
char *generate_note (const char *);
void edit_note (char **, char *);
void view_note (char *, char *);
void erase_note (char **);