summaryrefslogtreecommitdiff
path: root/funcs/func_channel.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-12-23 23:51:13 -0500
committerCorey Farrell <git@cfware.com>2017-12-24 00:34:58 -0500
commit92fb393cab7fbd164e299601e94909ba95a0116b (patch)
tree238199dcd761d3c81da9d91e46dc7cf06a489837 /funcs/func_channel.c
parent53799318bc040a2082904df86d42ab08790b47ec (diff)
loader: Add volatile to resource_being_loaded.
Some compiler optimizers seem to assume that dlopen will not use __attribute__((constructor)) functions to call back to the program. This was causing resource_being_loaded to be optimized away completely. ASTERISK-27531 #close Tested By: abelbeck Change-Id: If17a3b889e06811a0e7119f0539d052494d6ece9
Diffstat (limited to 'funcs/func_channel.c')
0 files changed, 0 insertions, 0 deletions