summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/apoint.c16
-rw-r--r--src/calcurse.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/src/apoint.c b/src/apoint.c
index 31608d1..412f122 100644
--- a/src/apoint.c
+++ b/src/apoint.c
@@ -610,22 +610,6 @@ apoint_check_next (struct notify_app *app, long start)
}
/*
- * 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.
*/
void
diff --git a/src/calcurse.h b/src/calcurse.h
index 9094df8..9cfc2e5 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -596,7 +596,6 @@ void apoint_delete_bynum (long, unsigned, enum eraseflg);
void apoint_scroll_pad_down (int, int);
void apoint_scroll_pad_up (int);
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_update_panel (int);
void apoint_paste_item (void);