summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/msg.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-07-02 22:36:14 +0000
committerjkh <jkh@FreeBSD.org>1999-07-02 22:36:14 +0000
commit09d2fcf7ce9c557990687ca35240e537d4bd3ce3 (patch)
treebd8d251c407636bd37bfe867581ad952c8609cf5 /usr.sbin/sysinstall/msg.c
parentf83d7679292bf0c56becaeb56d8fff81d2cec1c5 (diff)
downloadFreeBSD-src-09d2fcf7ce9c557990687ca35240e537d4bd3ce3.zip
FreeBSD-src-09d2fcf7ce9c557990687ca35240e537d4bd3ce3.tar.gz
Eliminate some varargs abuse.
Diffstat (limited to 'usr.sbin/sysinstall/msg.c')
-rw-r--r--usr.sbin/sysinstall/msg.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.sbin/sysinstall/msg.c b/usr.sbin/sysinstall/msg.c
index a7116e9..7ee6d82 100644
--- a/usr.sbin/sysinstall/msg.c
+++ b/usr.sbin/sysinstall/msg.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: msg.c,v 1.47 1997/09/20 02:48:48 jkh Exp $
+ * $Id: msg.c,v 1.48 1999/05/27 10:32:48 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -217,20 +217,6 @@ msgNotify(char *fmt, ...)
dialog_msgbox(NULL, errstr, -1, -1, 0);
}
-/* Put up a message in a popup or notifier box, depending on NO_CONFIRM */
-void
-msgCNotify(char *fmt, ...)
-{
- va_list args;
-
- va_start(args, fmt);
- if (variable_get(VAR_NO_CONFIRM))
- msgNotify(fmt, args);
- else
- msgConfirm(fmt, args);
- va_end(args);
-}
-
/* Put up a message in a popup yes/no box and return 1 for YES, 0 for NO */
int
msgYesNo(char *fmt, ...)
OpenPOWER on IntegriCloud