aboutsummaryrefslogtreecommitdiffstats
path: root/src/doprnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doprnt.c')
-rw-r--r--src/doprnt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doprnt.c b/src/doprnt.c
index 8db7c0f2ada..b4d13c59137 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -486,6 +486,8 @@ esprintf (char *buf, char const *format, ...)
486 return nbytes; 486 return nbytes;
487} 487}
488 488
489#if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT
490
489/* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF 491/* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF
490 and updating *BUFSIZE if the buffer is too small, and otherwise 492 and updating *BUFSIZE if the buffer is too small, and otherwise
491 behaving line esprintf. When reallocating, free *BUF unless it is 493 behaving line esprintf. When reallocating, free *BUF unless it is
@@ -505,6 +507,8 @@ exprintf (char **buf, ptrdiff_t *bufsize,
505 return nbytes; 507 return nbytes;
506} 508}
507 509
510#endif
511
508/* Act like exprintf, except take a va_list. */ 512/* Act like exprintf, except take a va_list. */
509ptrdiff_t 513ptrdiff_t
510evxprintf (char **buf, ptrdiff_t *bufsize, 514evxprintf (char **buf, ptrdiff_t *bufsize,