From f1453d106edb54f39fe824ac60f6dde4ad3c8c9a Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 27 Dec 2019 01:38:14 -0500 Subject: [PATCH] freebsd: fix attribute ordering --- include/notcurses.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/notcurses.h b/include/notcurses.h index c5910464e..5d3dd4f12 100644 --- a/include/notcurses.h +++ b/include/notcurses.h @@ -631,8 +631,7 @@ ncplane_printf(struct ncplane* n, const char* format, ...){ } static inline int -ncplane_printf_aligned(struct ncplane* n, int y, ncalign_e align, - const char* format, ...) +ncplane_printf_yx(struct ncplane* n, int y, int x, const char* format, ...) __attribute__ ((format (printf, 4, 5))); static inline int @@ -645,7 +644,8 @@ ncplane_printf_yx(struct ncplane* n, int y, int x, const char* format, ...){ } 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))); static inline int