From 84bd8a887a3b8ec35fd4701a7b93f2ac166ca393 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Tue, 18 Apr 2017 23:56:15 +0200 Subject: More splitting, create a separate rcdev file --- rcm-server-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rcm-server-main.c') diff --git a/rcm-server-main.c b/rcm-server-main.c index 5cb5ebe..31bfdb6 100644 --- a/rcm-server-main.c +++ b/rcm-server-main.c @@ -18,6 +18,7 @@ #include "rcm-server-keymap.h" #include "rcm-server-evdev.h" #include "rcm-server-lirc.h" +#include "rcm-server-rcdev.h" #include "rcm-server-kdb.h" static struct rc_device * @@ -882,7 +883,7 @@ free_manager(struct manager *mgr) { while (!list_empty(&mgr->rc_devs)) { struct rc_device *rcdev = list_first_entry(&mgr->rc_devs, typeof(*rcdev), list); - rc_device_free(rcdev); + rcdev_free(rcdev); } free(mgr); } -- cgit v1.2.3