Print this page
7127  remove -Wno-missing-braces from Makefile.uts


   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 
  26 #pragma ident   "%Z%%M% %I%     %E% SMI"
  27 
  28 /*
  29  * Kernel iconv code conversion module (kiconv_emea) for Europe, Middle East,
  30  * and South East Asia (PSARC/2007/173).
  31  */
  32 
  33 #include <sys/types.h>
  34 #include <sys/param.h>
  35 #include <sys/sysmacros.h>
  36 #include <sys/systm.h>
  37 #include <sys/debug.h>
  38 #include <sys/kmem.h>
  39 #include <sys/cmn_err.h>
  40 #include <sys/ddi.h>
  41 #include <sys/sunddi.h>
  42 #include <sys/ksynch.h>
  43 #include <sys/modctl.h>
  44 #include <sys/byteorder.h>
  45 #include <sys/errno.h>
  46 #include <sys/kiconv.h>
  47 #include <sys/kiconv_emea1.h>


1753 };
1754 
1755 static kiconv_module_info_t kiconv_emea_modinfo = {
1756         "kiconv_emea",          /* Must be the same as in kiconv framework. */
1757         KICONV_MAX_EMEA_OPS,    /* size_t kiconv_num_convs */
1758         kiconv_emea_ops,        /* kiconv_ops_t *kiconv_ops_tbl */
1759         0,                      /* size_t kiconv_num_aliases */
1760         NULL,                   /* char **aliases */
1761         NULL,                   /* char **canonicals */
1762         0                       /* int nowait */
1763 };
1764 
1765 static struct modlkiconv kiconv_emea = {
1766         &mod_kiconvops,
1767         "kiconv module for EMEA",
1768         &kiconv_emea_modinfo
1769 };
1770 
1771 static struct modlinkage linkage = {
1772         MODREV_1,
1773         (void *)&kiconv_emea,
1774         NULL
1775 };
1776 
1777 int
1778 _init()
1779 {
1780         int err;
1781 
1782         err = mod_install(&linkage);
1783         if (err)
1784                 cmn_err(CE_WARN, "kiconv_emea: failed to load kernel module");
1785 
1786         return (err);
1787 }
1788 
1789 int
1790 _info(struct modinfo *modinfop)
1791 {
1792         return (mod_info(&linkage, modinfop));
1793 }
1794 




   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  */
  25 


  26 /*
  27  * Kernel iconv code conversion module (kiconv_emea) for Europe, Middle East,
  28  * and South East Asia (PSARC/2007/173).
  29  */
  30 
  31 #include <sys/types.h>
  32 #include <sys/param.h>
  33 #include <sys/sysmacros.h>
  34 #include <sys/systm.h>
  35 #include <sys/debug.h>
  36 #include <sys/kmem.h>
  37 #include <sys/cmn_err.h>
  38 #include <sys/ddi.h>
  39 #include <sys/sunddi.h>
  40 #include <sys/ksynch.h>
  41 #include <sys/modctl.h>
  42 #include <sys/byteorder.h>
  43 #include <sys/errno.h>
  44 #include <sys/kiconv.h>
  45 #include <sys/kiconv_emea1.h>


1751 };
1752 
1753 static kiconv_module_info_t kiconv_emea_modinfo = {
1754         "kiconv_emea",          /* Must be the same as in kiconv framework. */
1755         KICONV_MAX_EMEA_OPS,    /* size_t kiconv_num_convs */
1756         kiconv_emea_ops,        /* kiconv_ops_t *kiconv_ops_tbl */
1757         0,                      /* size_t kiconv_num_aliases */
1758         NULL,                   /* char **aliases */
1759         NULL,                   /* char **canonicals */
1760         0                       /* int nowait */
1761 };
1762 
1763 static struct modlkiconv kiconv_emea = {
1764         &mod_kiconvops,
1765         "kiconv module for EMEA",
1766         &kiconv_emea_modinfo
1767 };
1768 
1769 static struct modlinkage linkage = {
1770         MODREV_1,
1771         { (void *)&kiconv_emea, NULL }

1772 };
1773 
1774 int
1775 _init()
1776 {
1777         int err;
1778 
1779         err = mod_install(&linkage);
1780         if (err)
1781                 cmn_err(CE_WARN, "kiconv_emea: failed to load kernel module");
1782 
1783         return (err);
1784 }
1785 
1786 int
1787 _info(struct modinfo *modinfop)
1788 {
1789         return (mod_info(&linkage, modinfop));
1790 }
1791