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/ctrl | |
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/ctrl')
-rw-r--r-- | src/ctrl/control_if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index 0209f3be..ce2e3676 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -524,7 +524,7 @@ static int listen_fd_cb(struct osmo_fd *listen_bfd, unsigned int what) char *name; - if (!(what & BSC_FD_READ)) + if (!(what & OSMO_FD_READ)) return 0; fd = accept(listen_bfd->fd, NULL, NULL); @@ -554,7 +554,7 @@ static int listen_fd_cb(struct osmo_fd *listen_bfd, unsigned int what) LOGP(DLCTRL, LOGL_INFO, "accept()ed new CTRL connection from %s\n", name); ccon->write_queue.bfd.fd = fd; - ccon->write_queue.bfd.when = BSC_FD_READ; + ccon->write_queue.bfd.when = OSMO_FD_READ; ret = osmo_fd_register(&ccon->write_queue.bfd); if (ret < 0) { |