projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Declare a static variable 'const'
[fio.git]
/
options.c
diff --git
a/options.c
b/options.c
index f2d98fa6bb59f4425dfdc7a155e2f55e725351d0..bb450fffae27137428d77924ae98972687b38a95 100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-19,7
+19,7
@@
char client_sockaddr_str[INET6_ADDRSTRLEN] = { 0 };
#define cb_data_to_td(data) container_of(data, struct thread_data, o)
-static struct pattern_fmt_desc fmt_desc[] = {
+static
const
struct pattern_fmt_desc fmt_desc[] = {
{
.fmt = "%o",
.len = FIELD_SIZE(struct io_u *, offset),