summaryrefslogtreecommitdiff
path: root/src/manconv.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-08-30 23:32:51 +0100
committerColin Watson <cjwatson@debian.org>2019-08-30 23:32:51 +0100
commit7680d36f18702354a9af39854a30af5c94e4e918 (patch)
treef955d2ae13c175ac675eb59b51b3d707eb060948 /src/manconv.h
parent1c9cb89a74a0e54309eff01adcac9775e8c0563a (diff)
Improve data types in manconv
* src/manconv.c (try_iconv): Change "last" parameter type to bool. Change types of "to_utf8" and "ignore_errors" to bool. (manconv): Convert "from" to gl_list. * src/manconv.h (manconv): Update prototype. * src/manconv_client.h (struct manconv_codes): Convert "from" to gl_list. (free_manconv_codes, add_manconv): Convert "codes->from" to gl_list. * src/manconv_main.c (from_code, split_codes, parse_opt, main): Convert to gl_list.
Diffstat (limited to 'src/manconv.h')
-rw-r--r--src/manconv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manconv.h b/src/manconv.h
index f252102a..d5dbd5ea 100644
--- a/src/manconv.h
+++ b/src/manconv.h
@@ -20,4 +20,6 @@
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-void manconv (struct pipeline *p, char * const *from, const char *to);
+#include "gl_list.h"
+
+void manconv (struct pipeline *p, gl_list_t from, const char *to);