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


   7  * with the License.
   8  *
   9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10  * or http://www.opensolaris.org/os/licensing.
  11  * See the License for the specific language governing permissions
  12  * and limitations under the License.
  13  *
  14  * When distributing Covered Code, include this CDDL HEADER in each
  15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16  * If applicable, add the following below this CDDL HEADER, with the
  17  * fields enclosed by brackets "[]" replaced with your own identifying
  18  * information: Portions Copyright [yyyy] [name of copyright owner]
  19  *
  20  * CDDL HEADER END
  21  */
  22 /*
  23  * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
  24  * Use is subject to license terms.
  25  */
  26 
  27 #pragma ident   "%Z%%M% %I%     %E% SMI"
  28 
  29 #include <sys/sysmacros.h>
  30 #include <sys/modctl.h>
  31 #include <sys/debug.h>
  32 #include <sys/mman.h>
  33 #include <sys/modctl.h>
  34 #include <sys/kobj.h>
  35 #include <ctf_impl.h>
  36 
  37 int ctf_leave_compressed = 0;
  38 
  39 static struct modlmisc modlmisc = {
  40         &mod_miscops, "Compact C Type Format routines"
  41 };
  42 
  43 static struct modlinkage modlinkage = {
  44         MODREV_1, &modlmisc, NULL
  45 };
  46 
  47 int
  48 _init(void)
  49 {
  50         return (mod_install(&modlinkage));
  51 }
  52 
  53 int
  54 _info(struct modinfo *mip)
  55 {
  56         return (mod_info(&modlinkage, mip));
  57 }
  58 
  59 int
  60 _fini(void)
  61 {
  62         return (mod_remove(&modlinkage));
  63 }
  64 




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


  27 #include <sys/sysmacros.h>
  28 #include <sys/modctl.h>
  29 #include <sys/debug.h>
  30 #include <sys/mman.h>
  31 #include <sys/modctl.h>
  32 #include <sys/kobj.h>
  33 #include <ctf_impl.h>
  34 
  35 int ctf_leave_compressed = 0;
  36 
  37 static struct modlmisc modlmisc = {
  38         &mod_miscops, "Compact C Type Format routines"
  39 };
  40 
  41 static struct modlinkage modlinkage = {
  42         MODREV_1, { &modlmisc, NULL }
  43 };
  44 
  45 int
  46 _init(void)
  47 {
  48         return (mod_install(&modlinkage));
  49 }
  50 
  51 int
  52 _info(struct modinfo *mip)
  53 {
  54         return (mod_info(&modlinkage, mip));
  55 }
  56 
  57 int
  58 _fini(void)
  59 {
  60         return (mod_remove(&modlinkage));
  61 }
  62