diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-03-18 09:10:13 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-03-18 09:10:13 +0200 |
commit | c908277be21c27a0894404821605134958521fd6 (patch) | |
tree | cf247a2a6753c527a7985aeeeb4b0dee3b4626b8 /build/spec.c | |
parent | 9df54a8622b6640e54288835e62c6c0d0b23c748 (diff) | |
download | librpm-tizen-c908277be21c27a0894404821605134958521fd6.tar.gz librpm-tizen-c908277be21c27a0894404821605134958521fd6.tar.bz2 librpm-tizen-c908277be21c27a0894404821605134958521fd6.zip |
Minimal namespacing for locale-insensitive x*() string functions
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/spec.c b/build/spec.c index 1f9266de5..30ae4ce08 100644 --- a/build/spec.c +++ b/build/spec.c @@ -19,9 +19,9 @@ extern int specedit; -#define SKIPSPACE(s) { while (*(s) && xisspace(*(s))) (s)++; } -#define SKIPWHITE(_x) {while(*(_x) && (xisspace(*_x) || *(_x) == ',')) (_x)++;} -#define SKIPNONWHITE(_x){while(*(_x) &&!(xisspace(*_x) || *(_x) == ',')) (_x)++;} +#define SKIPSPACE(s) { while (*(s) && risspace(*(s))) (s)++; } +#define SKIPWHITE(_x) {while(*(_x) && (risspace(*_x) || *(_x) == ',')) (_x)++;} +#define SKIPNONWHITE(_x){while(*(_x) &&!(risspace(*_x) || *(_x) == ',')) (_x)++;} /** * @param p trigger entry chain |