Make day_store_items() public

Remove the "static" keyword from day_store_items(), so that it is
accessible from other compilation units. Also, allow for discarding the
event/appointment counters by passing NULL pointers and move the
"regex.h" header inclusion to "calcurse.h".

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2012-06-25 13:40:44 +02:00
parent 1f2fe16a84
commit 244b6c927d
3 changed files with 11 additions and 7 deletions

View File

@@ -53,6 +53,7 @@
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <regex.h>
#include "llist.h"
#include "htable.h"
@@ -663,6 +664,7 @@ void custom_config_main(void);
/* day.c */
void day_free_list(void);
int day_store_items(long, unsigned *, unsigned *, regex_t *);
struct day_items_nb *day_process_storage(struct date *, unsigned,
struct day_items_nb *);
void day_write_pad(long, int, int, int);