mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-13 11:50:10 +01:00
The ARG macro should be uppercased when undefining it
This isn't a bug right now, but it could be in the future if ARG is used in a different context.
This commit is contained in:
@@ -3103,7 +3103,7 @@ int main(int argc, const char **argv)
|
|||||||
{ NULL, '\0', POPT_ARG_CALLBACK, basic_options_cb, 0, NULL, NULL },
|
{ NULL, '\0', POPT_ARG_CALLBACK, basic_options_cb, 0, NULL, NULL },
|
||||||
#define ARG(A, B, C, D, E, F, G, H) { A, B, C, NULL, A ## _ID, D, E },
|
#define ARG(A, B, C, D, E, F, G, H) { A, B, C, NULL, A ## _ID, D, E },
|
||||||
#include "cryptsetup_arg_list.h"
|
#include "cryptsetup_arg_list.h"
|
||||||
#undef arg
|
#undef ARG
|
||||||
POPT_TABLEEND
|
POPT_TABLEEND
|
||||||
};
|
};
|
||||||
static struct poptOption popt_options[] = {
|
static struct poptOption popt_options[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user