I guess the definition is incompatible with your declaration, but I don't know what you are doing. Maybe you can explain a bit more? What SDK are you using? What example? Have you modified it? Maybe include the code that triggers the error?
ble_app_beacon? Did it work before you modified it? If it did, what did you modify before you got this error? Can you include the code that triggers the error?