The following commit has been merged in the master branch:
commit ca92c5d2bf45984c11cf2b5f355b5cad48bf7259
Author: Guillem Jover <[email protected]>
Date: Thu Oct 7 09:58:18 2010 +0200
libdpkg: Rename function argument to func in ACTION macro
diff --git a/lib/dpkg/myopt.h b/lib/dpkg/myopt.h
index e36ddaf..b3a6783 100644
--- a/lib/dpkg/myopt.h
+++ b/lib/dpkg/myopt.h
@@ -57,8 +57,8 @@ extern const struct cmdinfo *cipaction;
void setaction(const struct cmdinfo *cip, const char *value);
void setobsolete(const struct cmdinfo *cip, const char *value);
-#define ACTION(longopt, shortopt, code, function) \
- { longopt, shortopt, 0, NULL, NULL, setaction, code, NULL, (voidfnp)function }
+#define ACTION(longopt, shortopt, code, func) \
+ { longopt, shortopt, 0, NULL, NULL, setaction, code, NULL, (voidfnp)func }
#define OBSOLETE(longopt, shortopt) \
{ longopt, shortopt, 0, NULL, NULL, setobsolete, 0, NULL, NULL }
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]