aboutsummaryrefslogtreecommitdiff
path: root/src/port/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/snprintf.c')
-rw-r--r--src/port/snprintf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/port/snprintf.c b/src/port/snprintf.c
index 91c97d487cd..62b23b0c1f3 100644
--- a/src/port/snprintf.c
+++ b/src/port/snprintf.c
@@ -99,7 +99,6 @@
/* Prevent recursion */
#undef vsnprintf
#undef snprintf
-#undef vsprintf
#undef sprintf
#undef vfprintf
#undef fprintf
@@ -176,7 +175,7 @@ pg_snprintf(char *str, size_t count, const char *fmt,...)
return len;
}
-int
+static int
pg_vsprintf(char *str, const char *fmt, va_list args)
{
PrintfTarget target;