*.c static functions: add missing __attribute__((format))