diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-07 19:18:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-07 19:18:15 +0000 |
commit | e58e4d36d9b8a3ec3a09c28936eb9627f5f39485 (patch) | |
tree | bd6d771de91546dcfb85967eb7356decf3fde66b /libman.h | |
parent | a70595124021b19985ca649bfe1c53c913a5e414 (diff) | |
download | mandoc-e58e4d36d9b8a3ec3a09c28936eb9627f5f39485.tar.gz mandoc-e58e4d36d9b8a3ec3a09c28936eb9627f5f39485.tar.zst mandoc-e58e4d36d9b8a3ec3a09c28936eb9627f5f39485.zip |
Simplify man_unscope(), removing 18 lines of code, that is,
removing one function argument, one function definition,
three function invocations and two pointless assert()s.
No functional change.
Diffstat (limited to 'libman.h')
-rw-r--r-- | libman.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: libman.h,v 1.58 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: libman.h,v 1.59 2014/07/07 19:18:15 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -78,8 +78,7 @@ enum mant man_hash_find(const char *); int man_macroend(struct man *); int man_valid_post(struct man *); int man_valid_pre(struct man *, struct man_node *); -int man_unscope(struct man *, const struct man_node *, - enum mandocerr); +int man_unscope(struct man *, const struct man_node *); __END_DECLS |