diff mbox series

[37/36] xfs_scrub: include unicrash.h in unicrash.c

Message ID 20190320193417.GA1183@magnolia (mailing list archive)
State Accepted
Headers show
Series xfsprogs-5.0: fix various problems | expand

Commit Message

Darrick J. Wong March 20, 2019, 7:34 p.m. UTC
From: Darrick J. Wong <darrick.wong@oracle.com>

Fix broken function prototype checking in unicrash.c by actually
including its header.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
---
 scrub/unicrash.c |    1 +
 1 file changed, 1 insertion(+)

Comments

Eric Sandeen April 4, 2019, 9:07 p.m. UTC | #1
On 3/20/19 2:34 PM, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
> 
> Fix broken function prototype checking in unicrash.c by actually
> including its header.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Reviewed-by: Eric Sandeen <sandeen@redhat.com>

> ---
>  scrub/unicrash.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/scrub/unicrash.c b/scrub/unicrash.c
> index 121eedbc..824b10f0 100644
> --- a/scrub/unicrash.c
> +++ b/scrub/unicrash.c
> @@ -16,6 +16,7 @@
>  #include "path.h"
>  #include "xfs_scrub.h"
>  #include "common.h"
> +#include "unicrash.h"
>  
>  /*
>   * Detect Unicode confusable names in directories and attributes.
>
diff mbox series

Patch

diff --git a/scrub/unicrash.c b/scrub/unicrash.c
index 121eedbc..824b10f0 100644
--- a/scrub/unicrash.c
+++ b/scrub/unicrash.c
@@ -16,6 +16,7 @@ 
 #include "path.h"
 #include "xfs_scrub.h"
 #include "common.h"
+#include "unicrash.h"
 
 /*
  * Detect Unicode confusable names in directories and attributes.