aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/apropos_db.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-11-14 10:07:06 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-11-14 10:07:06 +0000
commit0bf960c1fb936cb28f39f7d7c2b1b2817ebb14a0 (patch)
tree5d0fed038d44a8a49a97a2134db6ec9941f97b3c /apropos_db.h
parentee8f80a2285cf242861f49768d05d2efe5c1688b (diff)
downloadmandoc-0bf960c1fb936cb28f39f7d7c2b1b2817ebb14a0.tar.gz
mandoc-0bf960c1fb936cb28f39f7d7c2b1b2817ebb14a0.tar.zst
mandoc-0bf960c1fb936cb28f39f7d7c2b1b2817ebb14a0.zip
Have exprcomp() accept a string instead of an array-pointer. Also, collapse
the arguments in apropos(1) into a single string passed to exprcomp(). Ok schwarze@.
Diffstat (limited to 'apropos_db.h')
-rw-r--r--apropos_db.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apropos_db.h b/apropos_db.h
index a30cbedb..95d5001a 100644
--- a/apropos_db.h
+++ b/apropos_db.h
@@ -1,4 +1,4 @@
-/* $Id: apropos_db.h,v 1.3 2011/11/13 11:10:27 schwarze Exp $ */
+/* $Id: apropos_db.h,v 1.4 2011/11/14 10:07:06 kristaps Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -49,7 +49,7 @@ void apropos_search(const struct opts *,
const struct expr *, void *,
void (*)(struct rec *, size_t, void *));
-struct expr *exprcomp(int, char *[]);
+struct expr *exprcomp(char *);
void exprfree(struct expr *);
__END_DECLS