aboutsummaryrefslogtreecommitdiff
path: root/lib/libcfg
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-03-31 18:19:27 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-03-31 18:19:27 +0200
commit87a524d9313428d55e5a04c2538042629bdc467a (patch)
tree37d513ffcb56666d6993bc27096144896cedfc32 /lib/libcfg
parent9f9807d4d3e0ecabc9bb67658d58644d714a9fd7 (diff)
cleanup: delete remains of libutil
- exec_t belongs to service.h, the main place where it is used/needed - code for executing exec_t is moved to runsvc for the same reason - what is left are NORETURN and ARRAY_SIZE - the former can be replaced with direct attribute usage since the only relevant compilers all support the attribute. - the later is only used in 3 places and can be trivially replaced with direct usage of sizeof(). Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'lib/libcfg')
-rw-r--r--lib/libcfg/rdline.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libcfg/rdline.c b/lib/libcfg/rdline.c
index ee9ee8b..fb6f533 100644
--- a/lib/libcfg/rdline.c
+++ b/lib/libcfg/rdline.c
@@ -8,7 +8,6 @@
#include <fcntl.h>
#include "libcfg.h"
-#include "util.h"
int rdline_init(rdline_t *t, int dirfd, const char *filename,
int argc, const char *const *argv)