From 760d4ce496b5f3bec34dc4fd9c5ffddb5ebb50c8 Mon Sep 17 00:00:00 2001 From: stsp Date: Sun, 24 Apr 2011 08:54:02 +0000 Subject: Back out wprintf until we've determined what to do for gcc2 and gcc3 arches. --- lib/libc/stdio/fwprintf.c | 48 ----------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 lib/libc/stdio/fwprintf.c (limited to 'lib/libc/stdio/fwprintf.c') diff --git a/lib/libc/stdio/fwprintf.c b/lib/libc/stdio/fwprintf.c deleted file mode 100644 index f5fa97266c8..00000000000 --- a/lib/libc/stdio/fwprintf.c +++ /dev/null @@ -1,48 +0,0 @@ -/* $OpenBSD: fwprintf.c,v 1.1 2011/04/24 07:46:58 stsp Exp $ */ -/*- - * Copyright (c) 1990, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Chris Torek. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#include -#include -#include - -int -fwprintf(FILE * __restrict fp, const wchar_t * __restrict fmt, ...) -{ - int ret; - va_list ap; - - va_start(ap, fmt); - ret = vfwprintf(fp, fmt, ap); - va_end(ap); - return (ret); -} -- cgit v1.2.3-59-g8ed1b