git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: reenable "syntax-check" rule: sc_const_long_option
[libguestfs.git]
/
daemon
/
guestfsd.c
diff --git
a/daemon/guestfsd.c
b/daemon/guestfsd.c
index
7bd384e
..
e8fb48f
100644
(file)
--- a/
daemon/guestfsd.c
+++ b/
daemon/guestfsd.c
@@
-68,7
+68,7
@@
int
main (int argc, char *argv[])
{
static const char *options = "fh:p:?";
main (int argc, char *argv[])
{
static const char *options = "fh:p:?";
- static struct option long_options[] = {
+ static
const
struct option long_options[] = {
{ "foreground", 0, 0, 'f' },
{ "help", 0, 0, '?' },
{ "host", 1, 0, 'h' },
{ "foreground", 0, 0, 'f' },
{ "help", 0, 0, '?' },
{ "host", 1, 0, 'h' },