=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc.c,v retrieving revision 1.90 retrieving revision 1.91 diff -c -r1.90 -r1.91 *** src/usr.bin/mandoc/mdoc.c 2012/07/18 10:36:20 1.90 --- src/usr.bin/mandoc/mdoc.c 2012/07/18 11:09:30 1.91 *************** *** 1,7 **** ! /* $Id: mdoc.c,v 1.90 2012/07/18 10:36:20 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons ! * Copyright (c) 2010 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above --- 1,7 ---- ! /* $Id: mdoc.c,v 1.91 2012/07/18 11:09:30 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons ! * Copyright (c) 2010, 2012 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above *************** *** 642,647 **** --- 642,655 ---- mdoc_node_unlink(m, p); mdoc_node_free(p); + } + + int + mdoc_node_relink(struct mdoc *m, struct mdoc_node *p) + { + + mdoc_node_unlink(m, p); + return(node_append(m, p)); } #if 0