diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-26 09:17:23 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:35 +0200 |
commit | ba28426fc0788d52ac7128c2dcd7afeff8be1127 (patch) | |
tree | 3bddb06338fd57505a28c8c9658304ccdcce0cdc /src/apoint.c | |
parent | 0504875219bdc4c017938bdccf564d9a452afcc6 (diff) | |
download | calcurse-ba28426fc0788d52ac7128c2dcd7afeff8be1127.zip |
Remove unused functions
Remove apoint_get(), event_get(), recur_get_apoint() and
recur_get_event(), since they are no longer used.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/apoint.c')
-rw-r--r-- | src/apoint.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/apoint.c b/src/apoint.c index d6def9d..5362dc1 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -413,18 +413,6 @@ struct apoint *apoint_scan(FILE * f, struct tm start, struct tm end, char state, return apoint_new(buf, note, tstart, tend - tstart, state); } -/* Retrieve an appointment from the list, given the day and item position. */ -struct apoint *apoint_get(long day, int pos) -{ - llist_item_t *i = LLIST_TS_FIND_NTH(&alist_p, pos, day, apoint_inday); - - if (i) - return LLIST_TS_GET_DATA(i); - - EXIT(_("item not found")); - /* NOTREACHED */ -} - void apoint_delete_bynum(long start, unsigned num, enum eraseflg flag) { llist_item_t *i; |