summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 16:29:16 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:46 -0500
commitcd235e03652f64cb9e49e852dce9c2029ccbdeae (patch)
tree2bade6dd2c3d36db73e45628483228822476ba4e
parente9c437058ab1b8b93aa6d2c862908a2e2d37267d (diff)
downloadmdso-cd235e03652f64cb9e49e852dce9c2029ccbdeae.tar.bz2
mdso-cd235e03652f64cb9e49e852dce9c2029ccbdeae.tar.xz
utility: added mdso_main() as a public interface, refactored accordingly.
-rw-r--r--include/mdso/mdso.h1
-rw-r--r--src/internal/mdso_driver_impl.h1
2 files changed, 1 insertions, 1 deletions
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 <mdso/mdso.h>
#include "argv/argv.h"
-extern int mdso_main(int, char **, char **);
extern const struct argv_option mdso_default_options[];
enum app_tags {