summaryrefslogtreecommitdiffstats
path: root/askconsole.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-11-29 14:10:00 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-11-30 09:53:47 +0100
commit1542738826dd0ed26cfc8f5e2e37ffe80f1b9676 (patch)
tree7eb7a6bfdb7f4217449741942253c2115e6ad5d7 /askconsole.c
parent501c6d70a6a7357652e2a4fb1ad5856d90bde29b (diff)
downloadunitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.tar
unitd-1542738826dd0ed26cfc8f5e2e37ffe80f1b9676.zip
Rename to unitd, clean up CMakeLists.txt
Diffstat (limited to 'askconsole.c')
-rw-r--r--askconsole.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/askconsole.c b/askconsole.c
index 703024e..eba4959 100644
--- a/askconsole.c
+++ b/askconsole.c
@@ -1,5 +1,4 @@
/*
- * Copyright (C) 2015 Matthias Schiffer <mschiffer@universe-factory.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
@@ -11,7 +10,7 @@
* GNU General Public License for more details.
*/
-#include "procd.h"
+#include "unitd.h"
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -57,7 +56,7 @@ static void child_exit(struct uloop_process *proc, int ret)
askconsole(proc);
}
-void procd_askconsole(void) {
+void unitd_askconsole(void) {
struct uloop_process *proc = malloc(sizeof(*proc));
proc->cb = child_exit;
askconsole(proc);