155714Skris/*	$NetBSD$	*/
255714Skris
355714Skris/*
455714Skris * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H��gskolan
555714Skris * (Royal Institute of Technology, Stockholm, Sweden).
655714Skris * All rights reserved.
755714Skris *
8280297Sjkim * Redistribution and use in source and binary forms, with or without
955714Skris * modification, are permitted provided that the following conditions
1055714Skris * are met:
1155714Skris *
1255714Skris * 1. Redistributions of source code must retain the above copyright
1355714Skris *    notice, this list of conditions and the following disclaimer.
1455714Skris *
15280297Sjkim * 2. Redistributions in binary form must reproduce the above copyright
1655714Skris *    notice, this list of conditions and the following disclaimer in the
1755714Skris *    documentation and/or other materials provided with the distribution.
1855714Skris *
1955714Skris * 3. Neither the name of the Institute nor the names of its contributors
2055714Skris *    may be used to endorse or promote products derived from this software
2155714Skris *    without specific prior written permission.
22280297Sjkim *
2355714Skris * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
2455714Skris * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2555714Skris * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2655714Skris * ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
2755714Skris * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2855714Skris * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2955714Skris * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3055714Skris * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3155714Skris * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3255714Skris * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3355714Skris * SUCH DAMAGE.
3455714Skris */
3555714Skris
3655714Skris#include <config.h>
37280297Sjkim
3855714Skris#include "err.h"
3955714Skris
40280297Sjkimvoid
4155714Skriswarn(const char *fmt, ...)
4255714Skris{
4355714Skris  va_list ap;
4455714Skris  va_start(ap, fmt);
4555714Skris  vwarn(fmt, ap);
4655714Skris  va_end(ap);
4755714Skris}
4855714Skris