OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be45f06
)
qemu-io: add 'const'
author
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Dec 2009 15:41:43 +0000
(15:41 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sun, 13 Dec 2009 15:41:43 +0000
(15:41 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-io.c
patch
|
blob
|
history
diff --git
a/qemu-io.c
b/qemu-io.c
index
3f7f222
..
25c282e
100644
(file)
--- a/
qemu-io.c
+++ b/
qemu-io.c
@@
-1415,7
+1415,7
@@
int main(int argc, char **argv)
int readonly = 0;
int growable = 0;
const char *sopt = "hVc:Crsnmgk";
- struct option lopt[] = {
+
const
struct option lopt[] = {
{ "help", 0, NULL, 'h' },
{ "version", 0, NULL, 'V' },
{ "offset", 1, NULL, 'o' },