Просмотр исходного кода

libdpkg: Rename function argument to func in ACTION macro

Guillem Jover лет назад: 16
Родитель
Сommit
ca92c5d2bf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lib/dpkg/myopt.h

+ 2 - 2
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 }