commit | 6a25a61142da9f8b75dc1c1431e7455cb45cd390 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Sun Dec 01 15:37:47 2019 +0100 |
committer | Harald Welte <laforge@osmocom.org> | Sun Dec 01 15:39:12 2019 +0100 |
tree | d33ff984ec4c5de0f16004a93fae8649573780da | |
parent | 1dbbed169a8e7eb0c2f0bc9d97df226345a9e7c4 [diff] |
Move fsm_mgcp_client regstration to __attribute__((contructor)) This way we can avoid the runtime overhead of checking whether or not it is initialized over and over again. It also brings this code more in line with other users of osmo_fsm_register(). Change-Id: Ia73ba8e46c13d925e88203e08a8966839e573183