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


  68 
  69 /* Printing message on q overflow */
  70 static int kbtrans_overflow_msg = 1;
  71 
  72 /*
  73  * This value corresponds approximately to max 10 fingers
  74  */
  75 static int      kbtrans_downs_size = 15;
  76 
  77 /*
  78  * modload support
  79  */
  80 extern struct mod_ops mod_miscops;
  81 
  82 static struct modlmisc modlmisc = {
  83         &mod_miscops,       /* Type of module */
  84         "kbtrans (key translation)"
  85 };
  86 
  87 static struct modlinkage modlinkage = {
  88         MODREV_1, (void *)&modlmisc, NULL
  89 };
  90 
  91 int
  92 _init(void)
  93 {
  94         return (mod_install(&modlinkage));
  95 }
  96 
  97 int
  98 _fini(void)
  99 {
 100         return (mod_remove(&modlinkage));
 101 }
 102 
 103 int
 104 _info(struct modinfo *modinfop)
 105 {
 106         return (mod_info(&modlinkage, modinfop));
 107 }
 108 




  68 
  69 /* Printing message on q overflow */
  70 static int kbtrans_overflow_msg = 1;
  71 
  72 /*
  73  * This value corresponds approximately to max 10 fingers
  74  */
  75 static int      kbtrans_downs_size = 15;
  76 
  77 /*
  78  * modload support
  79  */
  80 extern struct mod_ops mod_miscops;
  81 
  82 static struct modlmisc modlmisc = {
  83         &mod_miscops,       /* Type of module */
  84         "kbtrans (key translation)"
  85 };
  86 
  87 static struct modlinkage modlinkage = {
  88         MODREV_1, { (void *)&modlmisc, NULL }
  89 };
  90 
  91 int
  92 _init(void)
  93 {
  94         return (mod_install(&modlinkage));
  95 }
  96 
  97 int
  98 _fini(void)
  99 {
 100         return (mod_remove(&modlinkage));
 101 }
 102 
 103 int
 104 _info(struct modinfo *modinfop)
 105 {
 106         return (mod_info(&modlinkage, modinfop));
 107 }
 108