Re: [Qemu-devel] [PATCH] linux-user: Fix warnings caused by missing 'static' attribute

2015-09-06 Thread Michael Tokarev
29.08.2015 10:29, Stefan Weil wrote: > Warnings from the Sparse static analysis tool: > > linux-user/main.c:40:12: warning: > symbol 'filename' was not declared. Should it be static? > linux-user/main.c:41:12: warning: > symbol 'argv0' was not declared. Should it be static? > linux-user/main.c:4

Re: [Qemu-devel] [PATCH] linux-user: Fix warnings caused by missing 'static' attribute

2015-08-29 Thread Peter Maydell
On 29 August 2015 at 08:29, Stefan Weil wrote: > Warnings from the Sparse static analysis tool: > > linux-user/main.c:40:12: warning: > symbol 'filename' was not declared. Should it be static? > linux-user/main.c:41:12: warning: > symbol 'argv0' was not declared. Should it be static? > linux-use

[Qemu-devel] [PATCH] linux-user: Fix warnings caused by missing 'static' attribute

2015-08-29 Thread Stefan Weil
Warnings from the Sparse static analysis tool: linux-user/main.c:40:12: warning: symbol 'filename' was not declared. Should it be static? linux-user/main.c:41:12: warning: symbol 'argv0' was not declared. Should it be static? linux-user/main.c:42:5: warning: symbol 'gdbstub_port' was not declar