From 1688699c3f1272335132c9113bfd2337b39279af Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Wed, 20 Mar 2019 10:26:39 +0100 Subject: select: Rename BSC_FD_* constants to OSMO_FD_* The naming of these constants dates back to when the code was private within OpenBSC. Everything else was renamed (bsc_fd -> osmo_fd) at the time, but somehow the BSC_FD_* defines have been missed at the time. Keep compatibility #defines around, but allow us to migrate the applications to a less confusing naming meanwhile. Change-Id: Ifae33ed61a7cf0ae54ad487399e7dd2489986436 --- src/gsmtap_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gsmtap_util.c') diff --git a/src/gsmtap_util.c b/src/gsmtap_util.c index 385b4672..996830f6 100644 --- a/src/gsmtap_util.c +++ b/src/gsmtap_util.c @@ -355,7 +355,7 @@ static int gsmtap_sink_fd_cb(struct osmo_fd *fd, unsigned int flags) int rc; uint8_t buf[4096]; - if (!(flags & BSC_FD_READ)) + if (!(flags & OSMO_FD_READ)) return 0; rc = read(fd->fd, buf, sizeof(buf)); @@ -395,7 +395,7 @@ int gsmtap_source_add_sink(struct gsmtap_inst *gti) sink_ofd = >i->sink_ofd; sink_ofd->fd = fd; - sink_ofd->when = BSC_FD_READ; + sink_ofd->when = OSMO_FD_READ; sink_ofd->cb = gsmtap_sink_fd_cb; rc = osmo_fd_register(sink_ofd); -- cgit v1.2.3