src/message.c: move declaration to top of function (C89)