diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-22 19:10:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-22 19:10:48 +0000 |
commit | 88d20eead0ae7a10800a000fd389e1b49ed6431e (patch) | |
tree | a0bbda1b5b19b4230610a6bed451488681d84755 /terminal.c | |
parent | cbab9e7de022e9e548c5f200ceb9b259492b1fb8 (diff) | |
download | mandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.tar.gz mandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.tar.zst mandoc-88d20eead0ae7a10800a000fd389e1b49ed6431e.zip |
Lint fixes.
Diffstat (limited to 'terminal.c')
-rw-r--r-- | terminal.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: terminal.c,v 1.5 2009/03/21 13:09:29 kristaps Exp $ */ +/* $Id: terminal.c,v 1.6 2009/03/22 19:10:48 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org> * @@ -46,8 +46,8 @@ static void term_nescape(struct termp *, static void term_chara(struct termp *, char); static void term_stringa(struct termp *, const char *, size_t); -static int term_isopendelim(const char *, size_t); -static int term_isclosedelim(const char *, size_t); +static int term_isopendelim(const char *, int); +static int term_isclosedelim(const char *, int); static void sanity(const struct mdoc_node *); /* XXX */ @@ -129,7 +129,7 @@ term_alloc(enum termenc enc) static int -term_isclosedelim(const char *p, size_t len) +term_isclosedelim(const char *p, int len) { if (1 != len) @@ -163,7 +163,7 @@ term_isclosedelim(const char *p, size_t len) static int -term_isopendelim(const char *p, size_t len) +term_isopendelim(const char *p, int len) { if (1 != len) |