* 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.
sc_m4_quote_check \
sc_prohibit_trailing_blank_lines \
sc_avoid_ctype_macros \
- sc_const_long_option \
sc_avoid_write \
sc_trailing_blank
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' },
main (int argc, char *argv[])
{
static const char *options = "a:Df:h::im:nrv?Vx";
- static struct option long_options[] = {
+ static const struct option long_options[] = {
{ "add", 1, 0, 'a' },
{ "cmd-help", 2, 0, 'h' },
{ "file", 1, 0, 'f' },
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 },