diff options
author | Max <msuraev@sysmocom.de> | 2017-11-29 12:45:34 +0100 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-11-29 14:23:13 +0000 |
commit | d0ff694cb94e350b240120e75e19ab4fd31cbe7f (patch) | |
tree | af690c814dd868cd3cb71e8ecc2fd5e937140a1d /include/osmocom/bsc/abis_nm.h | |
parent | 8c209c9e2b9cbf9b5f6f2f3ce6fd734b03f79a59 (diff) |
cosmetic: tighten function type signatures
* change return type to bool
* constify parameters
The nm_is_running(), trx_is_usable() and ts_is_usable() always return
boolean value and are always used as such anyway. The also do not change
their parameters.
Change-Id: I6a572fc78371c69f5308edbad0ebe15e143d0505
Diffstat (limited to 'include/osmocom/bsc/abis_nm.h')
-rw-r--r-- | include/osmocom/bsc/abis_nm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/abis_nm.h b/include/osmocom/bsc/abis_nm.h index b0cb16669..18f87cdf4 100644 --- a/include/osmocom/bsc/abis_nm.h +++ b/include/osmocom/bsc/abis_nm.h @@ -163,7 +163,7 @@ const char *ipacc_testres_name(uint8_t res); /* Functions calling into other code parts */ bool all_trx_rsl_connected_unlocked(const struct gsm_bts *bts); -int nm_is_running(struct gsm_nm_state *s); +bool nm_is_running(const struct gsm_nm_state *s); int abis_nm_vty_init(void); |