=================================================================== RCS file: /cvs/mandoc/Attic/private.h,v retrieving revision 1.36 retrieving revision 1.38 diff -u -p -r1.36 -r1.38 --- mandoc/Attic/private.h 2008/12/10 10:43:57 1.36 +++ mandoc/Attic/private.h 2008/12/10 12:09:47 1.38 @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.36 2008/12/10 10:43:57 kristaps Exp $ */ +/* $Id: private.h,v 1.38 2008/12/10 12:09:47 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -251,7 +251,7 @@ extern const char *const *tokargnames; enum roffmsg { ROFF_WARN, - ROFF_ERROR, + ROFF_ERROR }; enum roffmsec { @@ -268,7 +268,7 @@ enum roffmsec { ROFF_MSEC_UNASS, ROFF_MSEC_DRAFT, ROFF_MSEC_PAPER, - ROFF_MSEC_MAX, + ROFF_MSEC_MAX }; enum roffatt { @@ -280,7 +280,7 @@ enum roffatt { ROFF_ATT_32V, ROFF_ATT_V_1, ROFF_ATT_V_4, - ROFF_ATT_MAX, + ROFF_ATT_MAX }; enum roffvol { @@ -319,7 +319,7 @@ enum roffvol { ROFF_ARCH_SUN3, ROFF_ARCH_VAX, ROFF_ARCH_ZAURUS, - ROFF_VOL_MAX, + ROFF_VOL_MAX }; #define ROFFSec_NMASK (0x07) @@ -346,7 +346,8 @@ struct roffcb { const char *, const char *, const char *); int (*roffhead)(void *, const struct tm *, const char *, const char *, enum roffmsec, enum roffvol); - int (*rofftail)(void *); + int (*rofftail)(void *, const struct tm *, const char *, + const char *, enum roffmsec, enum roffvol); int (*roffdata)(void *, int, const char *, const char *); int (*roffin)(void *, int, int *, const char **); int (*roffout)(void *, int); @@ -391,6 +392,7 @@ enum roffmsec roff_msec(const char *); int roff_sec(const char **); enum roffatt roff_att(const char *); enum roffvol roff_vol(const char *); +char *roff_volname(enum roffvol); __END_DECLS