1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-10-09 23:33:17 +03:00

o added aliases list to struct device.

This commit is contained in:
Joe Thornber
2001-10-25 11:34:55 +00:00
parent 36658a671b
commit c7e7baaf23
8 changed files with 217 additions and 110 deletions

View File

@@ -17,8 +17,8 @@ struct rfilter {
struct matcher *engine;
};
int _extract_pattern(struct pool *mem, const char *pat,
char **regex, bitset_t accept, int index)
static int _extract_pattern(struct pool *mem, const char *pat,
char **regex, bitset_t accept, int index)
{
char sep, *r, *ptr;
@@ -83,7 +83,7 @@ int _extract_pattern(struct pool *mem, const char *pat,
return 1;
}
int _build_matcher(struct rfilter *rf, struct config_value *val)
static int _build_matcher(struct rfilter *rf, struct config_value *val)
{
struct pool *scratch;
struct config_value *v;
@@ -136,7 +136,7 @@ int _build_matcher(struct rfilter *rf, struct config_value *val)
/*
* build the matcher.
*/
if (!(rf->engine = matcher_create(rf->mem,
if (!(rf->engine = matcher_create(rf->mem,
(const char **) regex, count)))
stack;
r = 1;