aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2019-03-20 10:26:39 +0100
committerHarald Welte <laforge@gnumonks.org>2019-03-21 16:02:01 +0000
commit1688699c3f1272335132c9113bfd2337b39279af (patch)
tree89dccd672f3aaf3789d8669aa214a8608bb87112 /src/socket.c
parenta3226f7b9dc129d277c2e3c5a1158fdd3972dd58 (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/socket.c')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c
index 6a3f2540..3a46ad02 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -414,7 +414,7 @@ static inline int osmo_fd_init_ofd(struct osmo_fd *ofd, int sfd)
return sfd;
ofd->fd = sfd;
- ofd->when = BSC_FD_READ;
+ ofd->when = OSMO_FD_READ;
rc = osmo_fd_register(ofd);
if (rc < 0) {