=================================================================== RCS file: /cvs/mandoc/Attic/apropos_db.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- mandoc/Attic/apropos_db.h 2011/11/23 09:55:28 1.7 +++ mandoc/Attic/apropos_db.h 2011/11/26 22:38:11 1.8 @@ -1,4 +1,4 @@ -/* $Id: apropos_db.h,v 1.7 2011/11/23 09:55:28 kristaps Exp $ */ +/* $Id: apropos_db.h,v 1.8 2011/11/26 22:38:11 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -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 *);