aboutsummaryrefslogtreecommitdiff
path: root/src/include/common/fe_memutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/common/fe_memutils.h')
-rw-r--r--src/include/common/fe_memutils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/common/fe_memutils.h b/src/include/common/fe_memutils.h
index f7114c244f3..33123cb5044 100644
--- a/src/include/common/fe_memutils.h
+++ b/src/include/common/fe_memutils.h
@@ -26,9 +26,9 @@ extern void pfree(void *pointer);
/* sprintf into a palloc'd buffer --- these are in psprintf.c */
extern char *
psprintf(const char *fmt,...)
-__attribute__((format(PG_PRINTF_ATTRIBUTE, 1, 2)));
+pg_attribute_printf(1, 2);
extern size_t
pvsnprintf(char *buf, size_t len, const char *fmt, va_list args)
-__attribute__((format(PG_PRINTF_ATTRIBUTE, 3, 0)));
+pg_attribute_printf(3, 0);
#endif /* FE_MEMUTILS_H */