fixed function declaration in mod_app.cpp for mac osx