diff --git a/include/mdso/mdso.h b/include/mdso/mdso.h index 52a5e21..f42c67f 100644 --- a/include/mdso/mdso.h +++ b/include/mdso/mdso.h @@ -96,6 +96,7 @@ mdso_api int mdso_map_input (int fd, const char * path, int prot, struct mdso_ mdso_api int mdso_unmap_input (struct mdso_input *); /* utility api */ +mdso_api int mdso_main (int, char **, char **); mdso_api int mdso_output_export_symbols(const struct mdso_unit_ctx *, const struct mdso_common_ctx *, FILE *); mdso_api int mdso_create_implib_sources(const struct mdso_driver_ctx *); diff --git a/src/internal/mdso_driver_impl.h b/src/internal/mdso_driver_impl.h index f5b0620..a697528 100644 --- a/src/internal/mdso_driver_impl.h +++ b/src/internal/mdso_driver_impl.h @@ -8,7 +8,6 @@ #include #include "argv/argv.h" -extern int mdso_main(int, char **, char **); extern const struct argv_option mdso_default_options[]; enum app_tags {