summaryrefslogtreecommitdiffstats
path: root/apropos_db.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-26 22:38:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-26 22:38:11 +0000
commitedb836f226a3e9d500cba400695648b0a3ee6585 (patch)
tree9bac1273d1f20dec6c26f4b7dc1eec6b498342c7 /apropos_db.h
parent0aba7e883febd4a1eb4d3f54a32041eccd254290 (diff)
downloadmandoc-edb836f226a3e9d500cba400695648b0a3ee6585.tar.gz
Sync to OpenBSD, mostly gratuitous and whitespace differences,
but a few serious things as well: * -M overrides MANPATH * -m prepends to the path * put back database close calls that got lost in mandocdb * missing sys/types.h in manpath.c, needed for size_t ok kristaps@
Diffstat (limited to 'apropos_db.h')
-rw-r--r--apropos_db.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/apropos_db.h b/apropos_db.h
index 316d5669..3e0b347b 100644
--- a/apropos_db.h
+++ b/apropos_db.h
@@ -24,11 +24,11 @@ struct res {
char *arch; /* arch (or empty string) */
char *desc; /* description (from Nd) */
unsigned int rec; /* record in index */
- /*
+ /*
* The index volume. This indexes into the array of directories
* searched for manual page databases.
*/
- unsigned int volume;
+ unsigned int volume;
};
struct opts {
@@ -40,8 +40,8 @@ __BEGIN_DECLS
struct expr;
-int apropos_search(int, char **, const struct opts *,
- const struct expr *, size_t, void *,
+int apropos_search(int, char **, const struct opts *,
+ const struct expr *, size_t, void *,
void (*)(struct res *, size_t, void *));
struct expr *exprcomp(int, char *[], size_t *);
void exprfree(struct expr *);