Hello,

find attached a trivial patch for an implicit function declaration.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
>From 89035abb8ae5bf4f9b69fc56aa5d78c44e2a21eb Mon Sep 17 00:00:00 2001
From: Andreas Metzler <ametz...@bebt.de>
Date: Sat, 28 May 2016 14:44:32 +0200
Subject: [PATCH] fix implicit declaration of function warning.

* find/parser.c do not #include "bugreports.h" - it was unused.
* find/util.c: add #include "bugreports.h".
---
 find/parser.c | 1 -
 find/util.c   | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/find/parser.c b/find/parser.c
index dfe0523..5777133 100644
--- a/find/parser.c
+++ b/find/parser.c
@@ -65,7 +65,6 @@
 #include "buildcmd.h"
 #include "defs.h"
 #include "fdleak.h"
-#include "bugreports.h"
 #include "findutils-version.h"
 
 
diff --git a/find/util.c b/find/util.c
index 0e79571..2d97a8c 100644
--- a/find/util.c
+++ b/find/util.c
@@ -43,6 +43,7 @@
 /* find headers. */
 #include "defs.h"
 #include "dircallback.h"
+#include "bugreports.h"
 
 
 #if ENABLE_NLS
-- 
2.8.1

Reply via email to