From 10b4195af24561c8d4a39b27c31cde21eb1cf1b9 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 3 Apr 2019 23:41:09 +0200 Subject: Replace rdline with libbsd fparseln Signed-off-by: David Oberhollenzer --- gcrond.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gcrond.h') diff --git a/gcrond.h b/gcrond.h index c6f3071..9fe816d 100644 --- a/gcrond.h +++ b/gcrond.h @@ -21,6 +21,10 @@ #include #include +#ifdef HAVE_LIBBSD +#include +#endif + #include "config.h" #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) @@ -43,14 +47,6 @@ typedef struct { char *line; } rdline_t; -int rdline_init(rdline_t *t, int dirfd, const char *filename); - -void rdline_complain(rdline_t *t, const char *msg, ...); - -void rdline_cleanup(rdline_t *t); - -int rdline(rdline_t *t); - crontab_t *rdcron(int dirfd, const char *filename); void delcron(crontab_t *cron); -- cgit v1.2.3