Date: Sun, 27 Feb 2005 15:11:10 +0000 (UTC) From: Alexey Zelkin <phantom@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org 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 Message-ID: <200502271511.j1RFBAR4001778@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502271511.j1RFBAR4001778>
