diff options
author | jkh <jkh@FreeBSD.org> | 1994-04-05 14:08:47 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-04-05 14:08:47 +0000 |
commit | 68314379f2309f4a2f3b03c227d494a4d43aa7a1 (patch) | |
tree | ac02b985aac39d049d15cea2a959286212a9b94f /usr.sbin/pkg_install/lib/global.c | |
parent | 4549480f2f521e96c7310bbfa8d999677c0dbf9b (diff) | |
download | FreeBSD-src-68314379f2309f4a2f3b03c227d494a4d43aa7a1.zip FreeBSD-src-68314379f2309f4a2f3b03c227d494a4d43aa7a1.tar.gz |
Make y_or_n() pay attention to AutoAnswer global.
Diffstat (limited to 'usr.sbin/pkg_install/lib/global.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/global.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/global.c b/usr.sbin/pkg_install/lib/global.c index f5eda0e..d411f5e 100644 --- a/usr.sbin/pkg_install/lib/global.c +++ b/usr.sbin/pkg_install/lib/global.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id$"; +static const char *rcsid = "$Id: global.c,v 1.1.1.1 1993/08/26 01:19:55 jkh Exp $"; #endif /* @@ -25,7 +25,9 @@ static const char *rcsid = "$Id$"; #include "lib.h" -/* These two are global for all utils */ +/* These are global for all utils */ Boolean Verbose = FALSE; Boolean Fake = FALSE; +int AutoAnswer = FALSE; + |