projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed the -header option from scan(1).
[mmh]
/
sbr
/
getanswer.c
diff --git
a/sbr/getanswer.c
b/sbr/getanswer.c
index
4707255
..
9bac0e5
100644
(file)
--- a/
sbr/getanswer.c
+++ b/
sbr/getanswer.c
@@
-11,12
+11,12
@@
int
int
-getanswer (char *prompt)
+getanswer(char *prompt)
{
static int interactive = -1;
if (interactive < 0)
{
static int interactive = -1;
if (interactive < 0)
- interactive = isatty (fileno (stdin)) ? 1 : 0;
+ interactive = isatty(fileno(stdin)) ? 1 : 0;
- return (interactive ? gans (prompt, anoyes) : 1);
+ return (interactive ? gans(prompt, anoyes) : 1);
}
}