summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-03-09 16:46:02 -0800
committerJens Axboe <axboe@kernel.dk>2018-03-09 21:33:32 -0700
commit447931d99aff4dad5fabfafc3b96341d8143d90c (patch)
treedba8686fe1b1dc918d9f0f015b0832a9bcaa93b0 /debug.h
parent408874dae09d781eeff74775008ac79b641f412e (diff)
downloadfio-447931d99aff4dad5fabfafc3b96341d8143d90c.tar.gz
fio-447931d99aff4dad5fabfafc3b96341d8143d90c.tar.bz2
Declare debug_levels[] const
Since debug_levels[] is not modified by any code, declare it const. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.h b/debug.h
index ac5f2ccd..b8718ddc 100644
--- a/debug.h
+++ b/debug.h
@@ -53,7 +53,7 @@ struct debug_level {
unsigned long shift;
unsigned int jobno;
};
-extern struct debug_level debug_levels[];
+extern const struct debug_level debug_levels[];
extern unsigned long fio_debug;