arehbein has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/libosmocore/+/34524?usp=email )


Change subject: osmo_io: Clean up code
......................................................................

osmo_io: Clean up code

 - Remove osmo_io_init() from header, since it has no function definition
 - Remove osmo_iofd_init from .map file, because it doesn't need to be exposed
   (it is called by on_dso_load_osmo_io() in osmo_io.c)

Change-Id: I77f7ae2b211507f420d87c484ec75ee054fceb63
---
M include/osmocom/core/osmo_io.h
M src/core/libosmocore.map
2 files changed, 13 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/24/34524/1

diff --git a/include/osmocom/core/osmo_io.h b/include/osmocom/core/osmo_io.h
index b780d9a..4ff6bbc 100644
--- a/include/osmocom/core/osmo_io.h
+++ b/include/osmocom/core/osmo_io.h
@@ -69,8 +69,6 @@
        };
 };

-void osmo_io_init(void);
-
 struct osmo_io_fd *osmo_iofd_setup(const void *ctx, int fd, const char *name,
                  enum osmo_io_fd_mode mode, const struct osmo_io_ops *ioops, 
void *data);
 int osmo_iofd_register(struct osmo_io_fd *iofd, int fd);
diff --git a/src/core/libosmocore.map b/src/core/libosmocore.map
index c0e164b..a8b2c18 100644
--- a/src/core/libosmocore.map
+++ b/src/core/libosmocore.map
@@ -260,7 +260,6 @@
 osmo_iofd_get_name;
 osmo_iofd_set_name;
 osmo_iofd_get_priv_nr;
-osmo_iofd_init;
 osmo_iofd_ops;
 osmo_iofd_register;
 osmo_iofd_sendto_msgb;

--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/34524?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I77f7ae2b211507f420d87c484ec75ee054fceb63
Gerrit-Change-Number: 34524
Gerrit-PatchSet: 1
Gerrit-Owner: arehbein <arehb...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to