X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ao-tools%2Fao-view%2Faoview_main.c;h=a197b3e66c16fe5d7dce95e41f0a1a45c32aa0a8;hb=cd291d38b92b31c3612e6de6cdf4e5988fc01c12;hp=714bee9a2677924c8369cf79540b3bcea9c81edd;hpb=e29961fdb2a48874c895829880eadbf13e094c0c;p=fw%2Faltos diff --git a/ao-tools/ao-view/aoview_main.c b/ao-tools/ao-view/aoview_main.c index 714bee9a..a197b3e6 100644 --- a/ao-tools/ao-view/aoview_main.c +++ b/ao-tools/ao-view/aoview_main.c @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -31,7 +32,6 @@ static void destroy_event(GtkWidget *widget, gpointer data) gtk_main_quit(); } -extern int _Xdebug; char *aoview_tty = NULL; int main(int argc, char **argv) @@ -42,13 +42,12 @@ int main(int argc, char **argv) static struct option long_options[] = { { "tty", 1, 0, 'T'}, - { "sync", 0, 0, 's'}, { 0, 0, 0, 0 } }; for (;;) { int c, temp; - c = getopt_long_only(argc, argv, "sT:", long_options, &temp); + c = getopt_long_only(argc, argv, "T:", long_options, &temp); if (c == -1) break; @@ -56,9 +55,6 @@ int main(int argc, char **argv) case 'T': aoview_tty = optarg; break; - case 's': - _Xdebug = 1; - break; default: usage(); }