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

Alexey Zelkin phantom at FreeBSD.org
Sun Feb 27 15:11:11 GMT 2005


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


More information about the cvs-src mailing list