mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user