src/apoint.c: Remove apoint_recur_s2apoint_s()

This one is hackish, obsolete and no longer used by any other function.
Drop it!

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-11-11 09:41:49 +01:00
parent 3c59faa925
commit d32d811623
2 changed files with 0 additions and 17 deletions

View File

@ -609,22 +609,6 @@ apoint_check_next (struct notify_app *app, long start)
return app; return app;
} }
/*
* Returns a structure of type struct apoint_list given a structure of type
* recur_apoint_s
*/
struct apoint *
apoint_recur_s2apoint_s (struct recur_apoint *p)
{
struct apoint *a;
a = mem_malloc (sizeof (struct apoint));
a->mesg = mem_strdup (p->mesg);
a->start = p->start;
a->dur = p->dur;
return a;
}
/* /*
* Switch notification state. * Switch notification state.
*/ */

View File

@ -596,7 +596,6 @@ void apoint_delete_bynum (long, unsigned, enum eraseflg);
void apoint_scroll_pad_down (int, int); void apoint_scroll_pad_down (int, int);
void apoint_scroll_pad_up (int); void apoint_scroll_pad_up (int);
struct notify_app *apoint_check_next (struct notify_app *, long); struct notify_app *apoint_check_next (struct notify_app *, long);
struct apoint *apoint_recur_s2apoint_s (struct recur_apoint *);
void apoint_switch_notify (void); void apoint_switch_notify (void);
void apoint_update_panel (int); void apoint_update_panel (int);
void apoint_paste_item (void); void apoint_paste_item (void);