aboutsummaryrefslogtreecommitdiffstats
path: root/src/apoint.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-11-11 09:41:49 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-11-14 11:08:14 +0100
commitd32d811623ac130df58a5f02f168f48caa23ef9a (patch)
tree42f2c4f9337d9a33161c3959c8261bb4d57bf8e6 /src/apoint.c
parent3c59faa925066f5acec45ed197785a09210875cf (diff)
downloadcalcurse-d32d811623ac130df58a5f02f168f48caa23ef9a.tar.gz
calcurse-d32d811623ac130df58a5f02f168f48caa23ef9a.zip
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>
Diffstat (limited to 'src/apoint.c')
-rw-r--r--src/apoint.c16
1 files changed, 0 insertions, 16 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