From bc80934db614d28c7b53a0b013dd68c4e6234c7e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 14 May 2011 16:06:08 +0000 Subject: Move roff.c's strtol into libmandoc.h for use by other parts of the code (which will come). --- libmandoc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libmandoc.h') diff --git a/libmandoc.h b/libmandoc.h index eafcb2c6..5f8379af 100644 --- a/libmandoc.h +++ b/libmandoc.h @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.20 2011/04/19 16:38:48 kristaps Exp $ */ +/* $Id: libmandoc.h,v 1.21 2011/05/14 16:06:09 kristaps Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * @@ -79,6 +79,7 @@ char *mandoc_normdate(struct mparse *, char *, int, int); int mandoc_eos(const char *, size_t, int); int mandoc_hyph(const char *, const char *); int mandoc_getcontrol(const char *, int *); +int mandoc_strntou(const char *, size_t, int); void mdoc_free(struct mdoc *); struct mdoc *mdoc_alloc(struct regset *, struct mparse *); -- cgit v1.2.3-56-ge451