app-admin/watchfolder: fix implicit function decls

Closes: https://bugs.gentoo.org/870433
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-09-26 03:35:19 +01:00
parent 6a73c6935a
commit 4c94b0e2a1
2 changed files with 15 additions and 1 deletions

View File

@@ -38,3 +38,17 @@
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/watchd.c b/watchd.c
index 842e186..49edb64 100644
--- a/watchd.c
+++ b/watchd.c
@@ -52,6 +52,9 @@ Syntax : watchd
#define FL_LOG_MAIL 256
#define FL_LOG_ALWAYS 512
+int isdir(char *name);
+void ini_close(inifile *i);
+
typedef struct Twatchfolder
{
char* runprg;

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7