summaryrefslogtreecommitdiff
path: root/rcm-server-main.c
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2017-04-18 23:56:15 +0200
committerDavid Härdeman <david@hardeman.nu>2017-04-18 23:56:15 +0200
commit84bd8a887a3b8ec35fd4701a7b93f2ac166ca393 (patch)
tree897a9ac160f82823097bc515b5fd61da7d9ab1b2 /rcm-server-main.c
parent927f0751fc8be8a71c2d8b255522259d01a7fcef (diff)
More splitting, create a separate rcdev fileHEADmaster
Diffstat (limited to 'rcm-server-main.c')
-rw-r--r--rcm-server-main.c3
1 files changed, 2 insertions, 1 deletions
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);
}