aboutsummaryrefslogtreecommitdiff
path: root/rtas/rtas_call.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-11-28 11:35:08 +0100
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-12-20 17:56:34 +0100
commit33bb95bab24d2dca03ee9e641d0e98d9fbd86fdd (patch)
treeeca73c12131b0765e3dfb9fe33a4df2397e932bd /rtas/rtas_call.c
parentec10f8af354266ba2576cfcc7d0c443a0cdbd7e9 (diff)
downloadSLOF-33bb95bab24d2dca03ee9e641d0e98d9fbd86fdd.zip
SLOF-33bb95bab24d2dca03ee9e641d0e98d9fbd86fdd.tar.gz
SLOF-33bb95bab24d2dca03ee9e641d0e98d9fbd86fdd.tar.bz2
Silenced some compiler warnings that occur when compiling with prototype checks
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>
Diffstat (limited to 'rtas/rtas_call.c')
-rw-r--r--rtas/rtas_call.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rtas/rtas_call.c b/rtas/rtas_call.c
index bf1cf89..8c7532c 100644
--- a/rtas/rtas_call.c
+++ b/rtas/rtas_call.c
@@ -28,6 +28,10 @@ int rtas_callcount[0x40] __attribute__((aligned (16)));
long rtas_config;
+/* Prototype */
+void rtas_call (rtas_args_t *rtas_args);
+
+
/*
Function: rtas_call
Input: