From owner-cvs-all@FreeBSD.ORG Sun Feb 27 15:11:10 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB84216A4CE; Sun, 27 Feb 2005 15:11:10 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57E343D5A; Sun, 27 Feb 2005 15:11:10 +0000 (GMT) (envelope-from phantom@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1RFBA4V001779; Sun, 27 Feb 2005 15:11:10 GMT (envelope-from phantom@repoman.freebsd.org) Received: (from phantom@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1RFBAR4001778; Sun, 27 Feb 2005 15:11:10 GMT (envelope-from phantom) Message-Id: <200502271511.j1RFBAR4001778@repoman.freebsd.org> From: Alexey Zelkin Date: Sun, 27 Feb 2005 15:11:10 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/locale big5.c euc.c gb18030.c gb2312.c gbk.c mblocal.h mskanji.c none.c setrunelocale.c table.c utf8.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2005 15:11:11 -0000 phantom 2005-02-27 15:11:10 UTC FreeBSD src repository Modified files: lib/libc/locale big5.c euc.c gb18030.c gb2312.c gbk.c mblocal.h mskanji.c none.c setrunelocale.c table.c utf8.c Log: . Static'ize functions exported via function reference variables only. . Replace inclusion of sys/param.h to sys/cdefs.h and sys/types.h where appropriate. . move _*_init() prototypes to mblocal.h, and remove these prototypes from .c files . use _none_init() in __setrunelocale() instead of duplicating code . move __mb* variables from table.c to none.c allowing us to not to export _none_*() externs, and appropriately remove them from mblocal.h Ok'ed by: tjr Revision Changes Path 1.17 +10 -9 src/lib/libc/locale/big5.c 1.21 +9 -8 src/lib/libc/locale/euc.c 1.7 +8 -8 src/lib/libc/locale/gb18030.c 1.9 +8 -8 src/lib/libc/locale/gb2312.c 1.12 +10 -9 src/lib/libc/locale/gbk.c 1.5 +12 -13 src/lib/libc/locale/mblocal.h 1.17 +10 -9 src/lib/libc/locale/mskanji.c 1.13 +29 -15 src/lib/libc/locale/none.c 1.45 +1 -15 src/lib/libc/locale/setrunelocale.c 1.27 +0 -10 src/lib/libc/locale/table.c 1.13 +15 -13 src/lib/libc/locale/utf8.c