aboutsummaryrefslogtreecommitdiffstats
path: root/ptx/ptx.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-12-25 17:53:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-12-25 17:53:10 +0000
commit80647123fe63c15caa93687028a45f9efee5b669 (patch)
tree6fe6df04e4b2cd506323ad2994b9527dd1ed7193 /ptx/ptx.c
parent6db6db4b7f38f7760b90ec861a39b5ccb9df5ba9 (diff)
downloadsrc-80647123fe63c15caa93687028a45f9efee5b669.tar.gz
src-80647123fe63c15caa93687028a45f9efee5b669.zip
Notes
Notes: svn path=/vendor/heirloom-doctools/dist/; revision=310550 svn path=/vendor/heirloom-doctools/20161106/; revision=310551; tag=vendor/heirloom-doctools/20161106
Diffstat (limited to 'ptx/ptx.c')
-rw-r--r--ptx/ptx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ptx/ptx.c b/ptx/ptx.c
index 26f1c13f73ca..be3fab2455b0 100644
--- a/ptx/ptx.c
+++ b/ptx/ptx.c
@@ -156,7 +156,8 @@ GETC(FILE *fp)
{
char mb[MB_LEN_MAX+1];
wchar_t wc;
- int c, i, n;
+ int c, i;
+ size_t n;
mbstate_t state;
if (peekc != WEOF) {
@@ -188,7 +189,7 @@ bad: if ((c = getc(fp)) == EOF)
}
static void
-UNGETC(int c, FILE *fp)
+UNGETC(int c, FILE *fp __unused)
{
peekc = c;
}