=================================================================== RCS file: /cvs/mandoc/libmandoc.h,v retrieving revision 1.33 retrieving revision 1.36 diff -u -p -r1.33 -r1.36 --- mandoc/libmandoc.h 2013/10/05 22:08:12 1.33 +++ mandoc/libmandoc.h 2013/12/31 23:23:10 1.36 @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.33 2013/10/05 22:08:12 schwarze Exp $ */ +/* $Id: libmandoc.h,v 1.36 2013/12/31 23:23:10 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2013 Ingo Schwarze @@ -42,7 +42,7 @@ void mandoc_vmsg(enum mandocerr, struct mparse *, int, int, const char *, ...); char *mandoc_getarg(struct mparse *, char **, int, int *); char *mandoc_normdate(struct mparse *, char *, int, int); -int mandoc_eos(const char *, size_t, int); +int mandoc_eos(const char *, size_t); int mandoc_strntoi(const char *, size_t, int); const char *mandoc_a2msec(const char*); @@ -68,8 +68,8 @@ void roff_reset(struct roff *); enum rofferr roff_parseln(struct roff *, int, char **, size_t *, int, int *); void roff_endparse(struct roff *); -void roff_setreg(struct roff *, const char *, unsigned int); -unsigned int roff_getreg(const struct roff *, const char *); +void roff_setreg(struct roff *, const char *, int, char sign); +int roff_getreg(const struct roff *, const char *); char *roff_strdup(const struct roff *, const char *); int roff_getcontrol(const struct roff *, const char *, int *);