aboutsummaryrefslogtreecommitdiff
path: root/rtas/flash/block_lists.c
AgeCommit message (Collapse)AuthorFilesLines
2021-10-06Silence some trivial compiler warning in the js2x codeThomas Huth1-0/+1
We enabled additional compiler warnings in commit 26d8ba170355c9, but so far we did not address the additional warnings in the js2x code yet. This patch fixes at least some of the trivial warnings there. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2011-12-20Silenced some compiler warnings that occur when compiling with prototype checksThomas Huth1-3/+4
The compiler flags -Wmissing-prototypes and -Wstrict-prototypes generally help to write code with proper prototypes. This way one can avoid some ugly bugs because it helps to identify functions that do not have prototypes in headers. It also helps to improve performance since local functions then have to be declared "static", so the compiler can do better optimizations. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt1-0/+274
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>