X-Git-Url: http://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/fed6418a32d3b0fd6036d169bd325c1172b391b5..aba6fe8bda05659f70ef0cca07aa02db72f23315:/t/scantest.c diff --git a/t/scantest.c b/t/scantest.c index 093c6ca..0a0be22 100644 --- a/t/scantest.c +++ b/t/scantest.c @@ -1,6 +1,6 @@ /* * Helper to verify scanner output. - * Copyright © 2023 Nick Bowler + * Copyright © 2023-2024 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +23,8 @@ #include "scan.h" #include "cdecl-internal.h" + +#define PROGNAME "scantest" #include "test.h" /* Stubs */ @@ -45,8 +47,6 @@ size_t cdecl__strlcpy(char *dst, const char *src, size_t len) abort(); } -#define PROGNAME "scantest" -static const char *progname = PROGNAME; static const char sopts[] = "ECVH"; static const struct option lopts[] = { { "cdecl", 0, NULL, 'C' },