[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <538B4AEC.7010108@linicks.net>
Date: Sun, 01 Jun 2014 16:46:52 +0100
From: Nick Warne <nick@...icks.net>
To: linux-kernel@...r.kernel.org
Subject: Re: Linux 3.14.5
On 01/06/14 13:04, Nick Warne wrote:
> I am getting hundreds of the same build warnings on this release -
> usually I get none - typical warnings:
>
> include/linux/sched.h:1691: warning: ‘pid_alive’ declared inline after
> being called
> include/linux/sched.h:1691: warning: previous declaration of ‘pid_alive’
> was here
>
> Info:
>
> Machine AMD64
> gcc version 4.2.4
>
> Any more info required please CC me.
OK, revisiting this between decorating, changing line 1691 in
include/linux/sched.h to reflect 'inline':
from:
static int pid_alive(const struct task_struct *p);
to:
static inline int pid_alive(const struct task_struct *p);
stops GCC yelling at me.
Nick
--
"A bug in the code is worth two in the documentation."
FSF Associate Member 5508
http://linicks.net/
http://pi.linicks.net/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists