1122470Sjake/* 2122470Sjake * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H��gskolan 3122470Sjake * (Royal Institute of Technology, Stockholm, Sweden). 4122470Sjake * All rights reserved. 5122470Sjake * 6122470Sjake * Redistribution and use in source and binary forms, with or without 7122470Sjake * modification, are permitted provided that the following conditions 8122470Sjake * are met: 9122470Sjake * 10122470Sjake * 1. Redistributions of source code must retain the above copyright 11122470Sjake * notice, this list of conditions and the following disclaimer. 12122470Sjake * 13122470Sjake * 2. Redistributions in binary form must reproduce the above copyright 14122470Sjake * notice, this list of conditions and the following disclaimer in the 15122470Sjake * documentation and/or other materials provided with the distribution. 16122470Sjake * 17122470Sjake * 3. Neither the name of the Institute nor the names of its contributors 18122470Sjake * may be used to endorse or promote products derived from this software 19122470Sjake * without specific prior written permission. 20122470Sjake * 21122470Sjake * THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 22122470Sjake * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23122470Sjake * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24122470Sjake * ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 25122470Sjake * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26122470Sjake * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27122470Sjake * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28122470Sjake * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29122470Sjake * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30122470Sjake * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31122470Sjake * SUCH DAMAGE. 32122470Sjake */ 33122470Sjake 34122470Sjake#include <config.h> 35122470Sjake 36122470Sjake#include "err.h" 37122470Sjake 38122470SjakeROKEN_LIB_FUNCTION void ROKEN_LIB_CALL 39122470Sjakewarnx(const char *fmt, ...) 40122470Sjake{ 41122470Sjake va_list ap; 42122470Sjake va_start(ap, fmt); 43122470Sjake vwarnx(fmt, ap); 44122470Sjake va_end(ap); 45122470Sjake} 46122470Sjake