summaryrefslogtreecommitdiffstats
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
commite9953015c778f622a13fba9e080726213b842410 (patch)
tree75829e98ca3c206a02f366e8b8adc6d8c985c6d9 /apropos_db.h
parent5ef01561d45c2fa2522c7bb1151fd40ac6e6de19 (diff)
downloadmandoc-e9953015c778f622a13fba9e080726213b842410.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apropos_db.h b/apropos_db.h
index 6cc14d57..cc6e41d9 100644
--- a/apropos_db.h
+++ b/apropos_db.h
@@ -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