diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-03 08:32:44 -0400 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-03 15:14:31 +0200 |
commit | 58e7e42033b1ac5044ae03f0aa5d5082c5fdb497 (patch) | |
tree | a112f861a199264df7eec8b0d7c2759459fe5659 /test-tool/test-tool.c | |
parent | a3cceb6f1c9e55759f5d6a07bf5c74a7ea825dcd (diff) | |
download | libguestfs-58e7e42033b1ac5044ae03f0aa5d5082c5fdb497.tar.gz libguestfs-58e7e42033b1ac5044ae03f0aa5d5082c5fdb497.tar.xz libguestfs-58e7e42033b1ac5044ae03f0aa5d5082c5fdb497.zip |
build: reenable "syntax-check" rule: sc_const_long_option
* cfg.mk (disable_temporarily): Remove sc_const_long_option.
* daemon/guestfsd.c (main): Declare long_options to be "const".
* fish/fish.c (main): Likewise.
* test-tool/test-tool.c (main): Likewise.
Diffstat (limited to 'test-tool/test-tool.c')
-rw-r--r-- | test-tool/test-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c index 9617073f..f37656a7 100644 --- a/test-tool/test-tool.c +++ b/test-tool/test-tool.c @@ -76,7 +76,7 @@ int main (int argc, char *argv[]) { static const char *options = "?"; - static struct option long_options[] = { + static const struct option long_options[] = { { "help", 0, 0, '?' }, { "helper", 1, 0, 0 }, { "qemu", 1, 0, 0 }, |