[sheepdog] [PATCH] lib/work: fix compiler warning
Liu Yuan
namei.unix at gmail.com
Mon Apr 13 09:48:40 CEST 2015
On Mon, Apr 13, 2015 at 02:35:02PM +0800, Ruoyu wrote:
> This patch fixes the compiler warning message as below.
>
> warning: implicit declaration of function ‘install_sighandler’
> [-Wimplicit-function-declaration]
>
> Signed-off-by: Ruoyu <liangry at ucweb.com>
> ---
> lib/work.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/work.c b/lib/work.c
> index 14e3117..01f9d73 100644
> --- a/lib/work.c
> +++ b/lib/work.c
> @@ -27,6 +27,7 @@
> #include <linux/types.h>
> #include <signal.h>
>
> +#include "common.h"
> #include "list.h"
> #include "util.h"
> #include "bitops.h"
> --
> 1.8.3.2
>
>
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog
Applied, thanks.
Yuan
More information about the sheepdog
mailing list