summaryrefslogtreecommitdiff
path: root/src/sysdep.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-08-24 11:42:28 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-08-24 15:55:08 -0700
commitb62eac0f870754bc75b1162246f9901a04910044 (patch)
tree4b392cfe5a8c36c6a735fd25228d3622ccbd17b5 /src/sysdep.c
parentaa49aa884053d0e8b33efe265f2aade19d1f3f3d (diff)
downloademacs-b62eac0f870754bc75b1162246f9901a04910044.tar.gz
extern function cleanup
Most of these functions can be static. A few are unused. * src/coding.c (encode_string_utf_8, decode_string_utf_8): Define only if ENABLE_UTF_8_CONVERTER_TEST, as they're not needed otherwise. * src/coding.c (encode_string_utf_8, decode_string_utf_8): * src/data.c (integer_mod): * src/fns.c (base64_encode_region_1, base64_encode_string_1): * src/ftfont.c (ftfont_get_fc_charset): Now static. * src/sysdep.c (verrprintf): Remove; unused.
Diffstat (limited to 'src/sysdep.c')
-rw-r--r--src/sysdep.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/sysdep.c b/src/sysdep.c
index f7478253a35..aa18ee22fd5 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -2810,12 +2810,6 @@ errputc (int c)
}
void
-verrprintf (char const *fmt, va_list ap)
-{
- vfprintf (errstream (), fmt, ap);
-}
-
-void
errwrite (void const *buf, ptrdiff_t nbuf)
{
fwrite_unlocked (buf, 1, nbuf, errstream ());