version 1.90, 2012/07/18 10:36:20 |
version 1.91, 2012/07/18 11:09:30 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2010, 2012 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
|
|
mdoc_node_unlink(m, p); |
mdoc_node_unlink(m, p); |
mdoc_node_free(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 |
#if 0 |