From 0bf960c1fb936cb28f39f7d7c2b1b2817ebb14a0 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 14 Nov 2011 10:07:06 +0000 Subject: 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@. --- apropos_db.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apropos_db.h') 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 * @@ -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 -- cgit v1.2.3