From d32d811623ac130df58a5f02f168f48caa23ef9a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 11 Nov 2011 09:41:49 +0100 Subject: 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 --- src/apoint.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/apoint.c') diff --git a/src/apoint.c b/src/apoint.c index 31608d1..412f122 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -609,22 +609,6 @@ apoint_check_next (struct notify_app *app, long start) 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. */ -- cgit v1.2.3-54-g00ecf