projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
189d82e
)
aoview: remove -s option.
author
Keith Packard
<keithp@keithp.com>
Wed, 16 Mar 2011 21:10:06 +0000
(14:10 -0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 19 Mar 2011 23:57:32 +0000
(16:57 -0700)
ao-tools/ao-view/aoview_main.c
patch
|
blob
|
history
diff --git
a/ao-tools/ao-view/aoview_main.c
b/ao-tools/ao-view/aoview_main.c
index 714bee9a2677924c8369cf79540b3bcea9c81edd..f8704b89dcb77b7140db98d8d51b610d4473b7c5 100644
(file)
--- a/
ao-tools/ao-view/aoview_main.c
+++ b/
ao-tools/ao-view/aoview_main.c
@@
-31,7
+31,6
@@
static void destroy_event(GtkWidget *widget, gpointer data)
gtk_main_quit();
}
gtk_main_quit();
}
-extern int _Xdebug;
char *aoview_tty = NULL;
int main(int argc, char **argv)
char *aoview_tty = NULL;
int main(int argc, char **argv)
@@
-42,13
+41,12
@@
int main(int argc, char **argv)
static struct option long_options[] = {
{ "tty", 1, 0, 'T'},
static struct option long_options[] = {
{ "tty", 1, 0, 'T'},
- { "sync", 0, 0, 's'},
{ 0, 0, 0, 0 }
};
for (;;) {
int c, temp;
{ 0, 0, 0, 0 }
};
for (;;) {
int c, temp;
- c = getopt_long_only(argc, argv, "
s
T:", long_options, &temp);
+ c = getopt_long_only(argc, argv, "T:", long_options, &temp);
if (c == -1)
break;
if (c == -1)
break;
@@
-56,9
+54,6
@@
int main(int argc, char **argv)
case 'T':
aoview_tty = optarg;
break;
case 'T':
aoview_tty = optarg;
break;
- case 's':
- _Xdebug = 1;
- break;
default:
usage();
}
default:
usage();
}