Re: Linux 3.14.5
From: Nick Warne
Date: Sun Jun 01 2014 - 11:46:58 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/