Module Name: src Committed By: pooka Date: Wed Feb 13 12:15:09 UTC 2013
Modified Files: src/lib/libc/gen: vis.c Log Message: Match prototype with reality to fix tool build on platforms where wint_t != int. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/lib/libc/gen/vis.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gen/vis.c diff -u src/lib/libc/gen/vis.c:1.47 src/lib/libc/gen/vis.c:1.48 --- src/lib/libc/gen/vis.c:1.47 Wed Feb 13 04:58:17 2013 +++ src/lib/libc/gen/vis.c Wed Feb 13 12:15:09 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: vis.c,v 1.47 2013/02/13 04:58:17 christos Exp $ */ +/* $NetBSD: vis.c,v 1.48 2013/02/13 12:15:09 pooka Exp $ */ /*- * Copyright (c) 1989, 1993 @@ -57,7 +57,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: vis.c,v 1.47 2013/02/13 04:58:17 christos Exp $"); +__RCSID("$NetBSD: vis.c,v 1.48 2013/02/13 12:15:09 pooka Exp $"); #endif /* LIBC_SCCS and not lint */ #ifdef __FBSDID __FBSDID("$FreeBSD$"); @@ -92,7 +92,7 @@ __weak_alias(strvisx,_strvisx) * as M-foo. */ -static wchar_t *do_svis(wchar_t *, int, int, int, const wchar_t *); +static wchar_t *do_svis(wchar_t *, wint_t, int, wint_t, const wchar_t *); #undef BELL #define BELL L'\a'