Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen Match prototype with reality to fix tool build ...



details:   https://anonhg.NetBSD.org/src/rev/40bae107d601
branches:  trunk
changeset: 784891:40bae107d601
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Feb 13 12:15:09 2013 +0000

description:
Match prototype with reality to fix tool build on platforms where
wint_t != int.

diffstat:

 lib/libc/gen/vis.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7ed2940e2789 -r 40bae107d601 lib/libc/gen/vis.c
--- a/lib/libc/gen/vis.c        Wed Feb 13 08:00:47 2013 +0000
+++ b/lib/libc/gen/vis.c        Wed Feb 13 12:15:09 2013 +0000
@@ -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 @@
  * 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'



Home | Main Index | Thread Index | Old Index