Adding FUNC_ATTR_PRINTF

We use this macro with variable argument functions.