[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110715.155816.1749182963276291009.davem@davemloft.net>
Date: Fri, 15 Jul 2011 15:58:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dan@...hlinux.org
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com
Subject: Re: [PATCH] Rename static setns() function
From: Dan McGee <dan@...hlinux.org>
Date: Fri, 15 Jul 2011 13:38:19 -0500
> Fixes the following error:
>
> gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
> -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -c -o ipnetns.o ipnetns.c
> ipnetns.c:31:12: error: static declaration of ‘setns’ follows non-static
> declaration
> /usr/include/bits/sched.h:93:12: note: previous declaration of ‘setns’
> was here
> make[1]: *** [ipnetns.o] Error 1
>
> Fixes issue introduced in commit 0dc34c7713bb7055.
>
> Signed-off-by: Dan McGee <dan@...hlinux.org>
Thanks for fixing this:
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists