=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/man_validate.c,v retrieving revision 1.26 retrieving revision 1.27 diff -c -r1.26 -r1.27 *** src/usr.bin/mandoc/man_validate.c 2010/05/26 02:39:58 1.26 --- src/usr.bin/mandoc/man_validate.c 2010/06/26 17:56:43 1.27 *************** *** 1,6 **** ! /* $Id: man_validate.c,v 1.26 2010/05/26 02:39:58 schwarze Exp $ */ /* ! * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above --- 1,6 ---- ! /* $Id: man_validate.c,v 1.27 2010/06/26 17:56:43 schwarze Exp $ */ /* ! * Copyright (c) 2008, 2009 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above *************** *** 27,33 **** #include "libman.h" #include "libmandoc.h" ! #define CHKARGS struct man *m, const struct man_node *n typedef int (*v_check)(CHKARGS); --- 27,33 ---- #include "libman.h" #include "libmandoc.h" ! #define CHKARGS struct man *m, struct man_node *n typedef int (*v_check)(CHKARGS); *************** *** 97,103 **** int ! man_valid_pre(struct man *m, const struct man_node *n) { v_check *cp; --- 97,103 ---- int ! man_valid_pre(struct man *m, struct man_node *n) { v_check *cp; *************** *** 200,206 **** static int check_text(CHKARGS) { ! const char *p; int pos, c; assert(n->string); --- 200,206 ---- static int check_text(CHKARGS) { ! char *p; int pos, c; assert(n->string);