summaryrefslogtreecommitdiff
path: root/ltp/iogen.c
diff options
context:
space:
mode:
authorRich Johnston <rjohnston@sgi.com>2012-11-09 13:24:01 +0000
committerRich Johnston <rjohnston@sgi.com>2012-11-21 08:43:45 -0600
commit9323f95f9657801edaa69f9654cb34c9b52924ad (patch)
treef12198c5884d8bd5e9b4574b75582a4d054979dd /ltp/iogen.c
parent131f750d7db38c7260b93e659d94fa7e4ea07ce0 (diff)
xfstests: resolve compiler warnings
This patch resolves the following compiler/configure warnings: configure: WARNING: unrecognized options: --enable-lib64 warning: 'xxxx' may be used uninitialized in this function [-Wuninitialized] warning: variable 'xxx' set but not used [-Wunused-but-set-variable] warning: call to function 'foo' without a real prototype [-Wunprototyped-calls] Signed-off-by: Rich Johnston <rjohnston@sgi.com> Reviewed-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'ltp/iogen.c')
-rw-r--r--ltp/iogen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltp/iogen.c b/ltp/iogen.c
index a2897feb..15f340de 100644
--- a/ltp/iogen.c
+++ b/ltp/iogen.c
@@ -132,7 +132,7 @@ int Fileio = 0; /* flag indicating that a file */
int Naio_Strat_Types = 0; /* # async io completion types */
struct strmap *Aio_Strat_List[128]; /* Async io completion types */
-void startup_info();
+void startup_info(FILE *stream, int seed);
/*
* Map async io completion modes (-a args) names to values. Macros are
@@ -299,7 +299,7 @@ char **argv;
void
startup_info(FILE *stream, int seed)
{
- char *value_to_string(), *type;
+ char *value_to_string(struct strmap *map, int val), *type;
int i;
fprintf(stream, "\n");