diff options
author | jkh <jkh@FreeBSD.org> | 1999-07-02 22:36:14 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-07-02 22:36:14 +0000 |
commit | 09d2fcf7ce9c557990687ca35240e537d4bd3ce3 (patch) | |
tree | bd8d251c407636bd37bfe867581ad952c8609cf5 /usr.sbin/sade/msg.c | |
parent | f83d7679292bf0c56becaeb56d8fff81d2cec1c5 (diff) | |
download | FreeBSD-src-09d2fcf7ce9c557990687ca35240e537d4bd3ce3.zip FreeBSD-src-09d2fcf7ce9c557990687ca35240e537d4bd3ce3.tar.gz |
Eliminate some varargs abuse.
Diffstat (limited to 'usr.sbin/sade/msg.c')
-rw-r--r-- | usr.sbin/sade/msg.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/usr.sbin/sade/msg.c b/usr.sbin/sade/msg.c index a7116e9..7ee6d82 100644 --- a/usr.sbin/sade/msg.c +++ b/usr.sbin/sade/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, ...) |