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


 101         };
 102 
 103 static gss_mechanism
 104         gss_mech_initialize()
 105 {
 106         return (&krb5_mechanism);
 107 }
 108 
 109 
 110 /*
 111  * Module linkage information for the kernel.
 112  */
 113 extern struct mod_ops mod_miscops;
 114 
 115 static struct modlmisc modlmisc = {
 116         &mod_miscops, "Krb5 GSS mechanism"
 117 };
 118 
 119 static struct modlinkage modlinkage = {
 120         MODREV_1,
 121         (void *)&modlmisc,
 122         NULL
 123 };
 124 
 125 
 126 static int krb5_fini_code = EBUSY;
 127 
 128 int
 129 _init()
 130 {
 131         int retval;
 132         gss_mechanism mech, tmp;
 133 
 134         if ((retval = mod_install(&modlinkage)) != 0)
 135                 return (retval);
 136 
 137         mech = gss_mech_initialize();
 138 
 139         mutex_enter(&__kgss_mech_lock);
 140         tmp = __kgss_get_mechanism(&mech->mech_type);
 141         if (tmp != NULL) {
 142 




 101         };
 102 
 103 static gss_mechanism
 104         gss_mech_initialize()
 105 {
 106         return (&krb5_mechanism);
 107 }
 108 
 109 
 110 /*
 111  * Module linkage information for the kernel.
 112  */
 113 extern struct mod_ops mod_miscops;
 114 
 115 static struct modlmisc modlmisc = {
 116         &mod_miscops, "Krb5 GSS mechanism"
 117 };
 118 
 119 static struct modlinkage modlinkage = {
 120         MODREV_1,
 121         { (void *)&modlmisc, NULL }

 122 };
 123 
 124 
 125 static int krb5_fini_code = EBUSY;
 126 
 127 int
 128 _init()
 129 {
 130         int retval;
 131         gss_mechanism mech, tmp;
 132 
 133         if ((retval = mod_install(&modlinkage)) != 0)
 134                 return (retval);
 135 
 136         mech = gss_mech_initialize();
 137 
 138         mutex_enter(&__kgss_mech_lock);
 139         tmp = __kgss_get_mechanism(&mech->mech_type);
 140         if (tmp != NULL) {
 141