projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ffa93ca
)
Fix variable type warning
author
Jens Axboe
<axboe@kernel.dk>
Wed, 9 Jan 2013 10:46:01 +0000
(11:46 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 9 Jan 2013 10:46:01 +0000
(11:46 +0100)
Bruce reports:
With 2.0.13 on FreeBSD there's also a warning from client.c:
client.c:24:18: warning: field 'eta' with variable sized type 'struct
jobs_eta' not at the end of a struct or class is a GNU extension [-Wgnu]
struct jobs_eta eta;
Re-order ->eta and ->pending.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c
patch
|
blob
|
blame
|
history
diff --git
a/client.c
b/client.c
index a483913062cfb527f64c718356366cd6d2266c33..fd67079c01d8f6baf12890f6b90e6fb0632ea051 100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-21,8
+21,8
@@
#include "hash.h"
struct client_eta {
#include "hash.h"
struct client_eta {
- struct jobs_eta eta;
unsigned int pending;
unsigned int pending;
+ struct jobs_eta eta;
};
struct fio_client {
};
struct fio_client {