diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-14 14:45:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-09-14 14:45:51 -0700 |
commit | 1c14176cfd92376a14e4dbce27eb0c6457d12061 (patch) | |
tree | 1a8d511c6ae27a0be4b7538838d52ae4a3015d71 /src/doprnt.c | |
parent | 3fe48822c39477d6e1b5fe566c00ccbb631cdb8e (diff) | |
download | emacs-1c14176cfd92376a14e4dbce27eb0c6457d12061.tar.gz |
Remove unused external symbols.
* dispextern.h (calc_pixel_width_or_height): Remove decl.
* xdisp.c (calc_pixel_width_or_height): Now static.
* doprnt.c (exprintf) [! (HAVE_X_WINDOWS && USE_X_TOOLKIT)]: Remove.
* indent.c (check_display_width):
* w32term.c: Fix comment to match code.
* xterm.c, xterm.h (x_catching_errors): Remove.
Diffstat (limited to 'src/doprnt.c')
-rw-r--r-- | src/doprnt.c | 4 |
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, ...) return nbytes; } +#if defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT + /* Format to buffer *BUF of positive size *BUFSIZE, reallocating *BUF and updating *BUFSIZE if the buffer is too small, and otherwise behaving line esprintf. When reallocating, free *BUF unless it is @@ -505,6 +507,8 @@ exprintf (char **buf, ptrdiff_t *bufsize, return nbytes; } +#endif + /* Act like exprintf, except take a va_list. */ ptrdiff_t evxprintf (char **buf, ptrdiff_t *bufsize, |