Change in osmo-e1d[master]: Use OSMO_FD_* instead of deprecated BSC_FD_*

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Oct 18 20:37:10 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/20740 )


Change subject: Use OSMO_FD_* instead of deprecated BSC_FD_*
......................................................................

Use OSMO_FD_* instead of deprecated BSC_FD_*

Change-Id: I7d0972705e898fd75cda3e92104c67c56ec166d5
---
M contrib/e1-prbs-test/main.c
M src/proto_srv.c
2 files changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/40/20740/1

diff --git a/contrib/e1-prbs-test/main.c b/contrib/e1-prbs-test/main.c
index 57cefc9..c65fcc6 100644
--- a/contrib/e1-prbs-test/main.c
+++ b/contrib/e1-prbs-test/main.c
@@ -104,7 +104,7 @@
 		ts = &tst->ts[tst->next_unused_ts++];
 
 		/* open the respective file descriptor */
-		osmo_fd_setup(&ts->ofd, rc, BSC_FD_READ, e1_fd_cb, ts, i);
+		osmo_fd_setup(&ts->ofd, rc, OSMO_FD_READ, e1_fd_cb, ts, i);
 
 		init_timeslot(ts);
 		num_slots++;
@@ -157,7 +157,7 @@
 		ts = &tst->ts[tst->next_unused_ts++];
 
 		/* open the respective file descriptor */
-		osmo_fd_setup(&ts->ofd, rc, BSC_FD_READ, e1_fd_cb, ts, atoi(ent->d_name));
+		osmo_fd_setup(&ts->ofd, rc, OSMO_FD_READ, e1_fd_cb, ts, atoi(ent->d_name));
 
 		cfg_dahdi_buffer(ts->ofd.fd);
 		struct dahdi_bufferinfo bi;
diff --git a/src/proto_srv.c b/src/proto_srv.c
index 6ec7397..c376423 100644
--- a/src/proto_srv.c
+++ b/src/proto_srv.c
@@ -191,7 +191,7 @@
 	conn->srv = srv;
 
 	conn->fd.fd = rc;
-	conn->fd.when = BSC_FD_READ;
+	conn->fd.when = OSMO_FD_READ;
 	conn->fd.cb = _e1dp_server_read;
 	conn->fd.data = conn;
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/20740
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I7d0972705e898fd75cda3e92104c67c56ec166d5
Gerrit-Change-Number: 20740
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201018/a8536030/attachment.htm>


More information about the gerrit-log mailing list