diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-07-19 06:05:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-07-19 06:05:16 +0000 |
commit | f0143f309111bca83659f897fa5c7c42548890ed (patch) | |
tree | a4e4f250b02548ce4781417e928a293aee002be7 /mandoc.h | |
parent | 0c627ea8c3cc862ae75011fd19486724efdf240b (diff) | |
download | mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.gz mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.zst mandoc-f0143f309111bca83659f897fa5c7c42548890ed.zip |
Do not fork and exec gunzip(1), just link with libz instead.
As discussed with deraadt@, that's cleaner and will help tame(2).
Something like this was also suggested earlier by bapt at FreeBSD.
Minus 50 lines of code, deleting one interface function (mparse_wait),
no functional change intended.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.203 2015/04/18 16:34:25 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.204 2015/07/19 06:05:16 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -438,6 +438,5 @@ void mparse_result(struct mparse *, const char *mparse_getkeep(const struct mparse *); const char *mparse_strerror(enum mandocerr); const char *mparse_strlevel(enum mandoclevel); -enum mandoclevel mparse_wait(struct mparse *); __END_DECLS |