aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-05-08 18:31:11 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-05-08 19:18:16 +0300
commit603c9afc1ceeef667b12342012f44cd5822fc02b (patch)
treef9c78815629545ecf4886f8e4bf0bb480f7d948b
parent5754161bdd188444e12a5ce364e26769e72c93fd (diff)
downloadmailfromd-603c9afc1ceeef667b12342012f44cd5822fc02b.tar.gz
mailfromd-603c9afc1ceeef667b12342012f44cd5822fc02b.tar.bz2
Avoid name clashes.
* mfd/snarf.m4 (MF_VAR_SET_STRING): Prefix local variables with a double-underscore to avoid name clashes with the existing variables.
-rw-r--r--mfd/snarf.m412
1 files changed, 6 insertions, 6 deletions
diff --git a/mfd/snarf.m4 b/mfd/snarf.m4
index ef824f83..e7c8df12 100644
--- a/mfd/snarf.m4
+++ b/mfd/snarf.m4
@@ -512,13 +512,13 @@ m4_define([<MF_VAR_REF>],[<m4_dnl
/* MF_VAR_SET_STRING(name, value) - Set variable NAME to the string VALUE */
m4_define([<MF_VAR_SET_STRING>],[<
-{ size_t off;
- const char *s = $2;
- if (s)
- MF_COPY_STRING(off, s);
+{ size_t __off;
+ const char *__s = $2;
+ if (__s)
+ MF_COPY_STRING(__off, __s);
else
- off = 0;
- MF_VAR_REF($1, off); }
+ __off = 0;
+ MF_VAR_REF($1, __off); }
>])
/* MF_VAR_INC(name) - Increment the value of the global variable NAME

Return to:

Send suggestions and report system problems to the System administrator.