freebsd: fix attribute ordering

This commit is contained in:
nick black 2019-12-27 01:38:14 -05:00 committed by Nick Black
parent cf2712ec6d
commit f1453d106e

View File

@ -631,8 +631,7 @@ ncplane_printf(struct ncplane* n, const char* format, ...){
} }
static inline int static inline int
ncplane_printf_aligned(struct ncplane* n, int y, ncalign_e align, ncplane_printf_yx(struct ncplane* n, int y, int x, const char* format, ...)
const char* format, ...)
__attribute__ ((format (printf, 4, 5))); __attribute__ ((format (printf, 4, 5)));
static inline int static inline int
@ -645,7 +644,8 @@ ncplane_printf_yx(struct ncplane* n, int y, int x, const char* format, ...){
} }
static inline int static inline int
ncplane_printf_yx(struct ncplane* n, int y, int x, const char* format, ...) ncplane_printf_aligned(struct ncplane* n, int y, ncalign_e align,
const char* format, ...)
__attribute__ ((format (printf, 4, 5))); __attribute__ ((format (printf, 4, 5)));
static inline int static inline int