Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/citrus/modules Mark function as static and give it ...



details:   https://anonhg.NetBSD.org/src/rev/39a902c6dfc6
branches:  trunk
changeset: 759379:39a902c6dfc6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Dec 07 22:01:22 2010 +0000

description:
Mark function as static and give it an explicit return type.

diffstat:

 lib/libc/citrus/modules/citrus_ues.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r cdb1893b592a -r 39a902c6dfc6 lib/libc/citrus/modules/citrus_ues.c
--- a/lib/libc/citrus/modules/citrus_ues.c      Tue Dec 07 21:40:08 2010 +0000
+++ b/lib/libc/citrus/modules/citrus_ues.c      Tue Dec 07 22:01:22 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: citrus_ues.c,v 1.1 2006/11/13 15:16:31 tnozaki Exp $ */
+/* $NetBSD: citrus_ues.c,v 1.2 2010/12/07 22:01:22 joerg Exp $ */
 
 /*-
  * Copyright (c)2006 Citrus Project,
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: citrus_ues.c,v 1.1 2006/11/13 15:16:31 tnozaki Exp $");
+__RCSID("$NetBSD: citrus_ues.c,v 1.2 2010/12/07 22:01:22 joerg Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #include <assert.h>
@@ -367,6 +367,7 @@
 }
 
 /*ARGSUSED*/
+static int
 _citrus_UES_stdenc_wctocs(_UESEncodingInfo * __restrict ei,
        _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc)
 {



Home | Main Index | Thread Index | Old Index