| 344 | MODULE_VERSION(libalias, 1); |
| 345 | |
| 346 | static int |
| 347 | alias_mod_handler(module_t mod, int type, void *data) |
| 348 | { |
| 349 | |
| 350 | switch (type) { |
| 351 | case MOD_QUIESCE: |
| 352 | case MOD_UNLOAD: |
| 353 | finishoff(); |
| 354 | case MOD_LOAD: |
| 355 | return (0); |
| 356 | default: |
| 357 | return (EINVAL); |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | static moduledata_t alias_mod = { |
| 362 | "alias", alias_mod_handler, NULL |
nothing calls this directly
no test coverage detected