aboutsummaryrefslogtreecommitdiffstats
path: root/ptx/ptx.c
diff options
context:
space:
mode:
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;
}