diff options
author | Alasdair G Kergon <agk@redhat.com> | 2017-10-18 15:57:46 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2017-10-18 15:58:13 +0100 |
commit | f1cc5b12fd80c3c62247fccfb2e5537aef27533d (patch) | |
tree | f839eaa11450e9f52d9a3915e54db009c839d303 /libdm/libdm-config.c | |
parent | 327d9d59be6f7179b2e0a756deaa0f9a196e0651 (diff) | |
download | lvm2-f1cc5b12fd80c3c62247fccfb2e5537aef27533d.tar.gz |
tidy: Add missing underscores to statics.
Diffstat (limited to 'libdm/libdm-config.c')
-rw-r--r-- | libdm/libdm-config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdm/libdm-config.c b/libdm/libdm-config.c index d85effb2a..e1ca210a8 100644 --- a/libdm/libdm-config.c +++ b/libdm/libdm-config.c @@ -72,7 +72,7 @@ static struct dm_config_node *_create_node(struct dm_pool *mem); static char *_dup_tok(struct parser *p); static char *_dup_token(struct dm_pool *mem, const char *b, const char *e); -static const int sep = '/'; +static const int _sep = '/'; #define MAX_INDENT 32 @@ -530,11 +530,11 @@ static struct dm_config_node *_find_or_make_node(struct dm_pool *mem, while (cn || mem) { /* trim any leading slashes */ - while (*path && (*path == sep)) + while (*path && (*path == _sep)) path++; /* find the end of this segment */ - for (e = path; *e && (*e != sep); e++) ; + for (e = path; *e && (*e != _sep); e++) ; /* hunt for the node */ cn_found = NULL; |