X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2a4e2f15af1a697152104af8f46f0ba6aab472ff..394a751fd883d2bbfc769fed7e254e008a2ef45e:/sbr/read_yes_or_no_if_tty.c diff --git a/sbr/read_yes_or_no_if_tty.c b/sbr/read_yes_or_no_if_tty.c index 2427f59c..03a3c0b5 100644 --- a/sbr/read_yes_or_no_if_tty.c +++ b/sbr/read_yes_or_no_if_tty.c @@ -5,7 +5,9 @@ * complete copyright information. */ -#include +#include "h/mh.h" +#include "read_yes_or_no_if_tty.h" +#include "read_switch.h" int @@ -16,5 +18,5 @@ read_yes_or_no_if_tty (const char *prompt) if (interactive < 0) interactive = isatty (fileno (stdin)); - return (interactive ? read_switch (prompt, anoyes) : 1); + return interactive ? read_switch(prompt, anoyes) : 1; }