diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-25 13:40:44 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:34 +0200 |
commit | 244b6c927db34cea9cc83486510af60fd6ae7926 (patch) | |
tree | 70ad713c7032533112b748791c405b704432d21a /src/calcurse.h | |
parent | 1f2fe16a845b3cdab77c59ddf3ca5ab8f8b738a7 (diff) | |
download | calcurse-244b6c927db34cea9cc83486510af60fd6ae7926.zip |
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>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index a1208ac..407734d 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -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); |