diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-03-20 10:26:39 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-21 16:02:01 +0000 |
commit | 1688699c3f1272335132c9113bfd2337b39279af (patch) | |
tree | 89dccd672f3aaf3789d8669aa214a8608bb87112 /src/gb | |
parent | a3226f7b9dc129d277c2e3c5a1158fdd3972dd58 (diff) |
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
Diffstat (limited to 'src/gb')
-rw-r--r-- | src/gb/gprs_ns.c | 4 | ||||
-rw-r--r-- | src/gb/gprs_ns_frgre.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gb/gprs_ns.c b/src/gb/gprs_ns.c index 8c3b0fa2..c7ff78ed 100644 --- a/src/gb/gprs_ns.c +++ b/src/gb/gprs_ns.c @@ -2006,9 +2006,9 @@ static int nsip_fd_cb(struct osmo_fd *bfd, unsigned int what) { int rc = 0; - if (what & BSC_FD_READ) + if (what & OSMO_FD_READ) rc = handle_nsip_read(bfd); - if (what & BSC_FD_WRITE) + if (what & OSMO_FD_WRITE) rc = handle_nsip_write(bfd); return rc; diff --git a/src/gb/gprs_ns_frgre.c b/src/gb/gprs_ns_frgre.c index 483fdb69..dbbd8d29 100644 --- a/src/gb/gprs_ns_frgre.c +++ b/src/gb/gprs_ns_frgre.c @@ -315,9 +315,9 @@ static int nsfrgre_fd_cb(struct osmo_fd *bfd, unsigned int what) { int rc = 0; - if (what & BSC_FD_READ) + if (what & OSMO_FD_READ) rc = handle_nsfrgre_read(bfd); - if (what & BSC_FD_WRITE) + if (what & OSMO_FD_WRITE) rc = handle_nsfrgre_write(bfd); return rc; |