summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/lib/lib.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-04-05 14:08:47 +0000
committerjkh <jkh@FreeBSD.org>1994-04-05 14:08:47 +0000
commit68314379f2309f4a2f3b03c227d494a4d43aa7a1 (patch)
treeac02b985aac39d049d15cea2a959286212a9b94f /usr.sbin/pkg_install/lib/lib.h
parent4549480f2f521e96c7310bbfa8d999677c0dbf9b (diff)
downloadFreeBSD-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/lib.h')
-rw-r--r--usr.sbin/pkg_install/lib/lib.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/lib.h b/usr.sbin/pkg_install/lib/lib.h
index f84c31b..4796f85 100644
--- a/usr.sbin/pkg_install/lib/lib.h
+++ b/usr.sbin/pkg_install/lib/lib.h
@@ -1,4 +1,4 @@
-/* $Id: lib.h,v 1.3 1993/09/05 04:54:21 jkh Exp $ */
+/* $Id: lib.h,v 1.4 1993/09/18 03:39:49 jkh Exp $ */
/*
* FreeBSD install - a package for the installation and maintainance
@@ -47,6 +47,9 @@
#define FALSE (0)
#endif
+#define YES 2
+#define NO 1
+
/* Usually "rm", but often "echo" during debugging! */
#define REMOVE_CMD "rm"
@@ -145,5 +148,6 @@ int pkg_perform(char **);
/* Externs */
extern Boolean Verbose;
extern Boolean Fake;
+extern int AutoAnswer;
#endif /* _INST_LIB_LIB_H_ */
OpenPOWER on IntegriCloud