mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Remove now-unnecessary struct keyword (#1320)
C++ acts like structs are `typedef`ed by default We do have to keep `struct stat`, since there's ambiguity with the function also called `stat`.
This commit is contained in:
@@ -110,7 +110,7 @@ static char const *optstring = "-Aa:b:Cc:Dd:FfhL:mN:n:Oo:Pp:Qq:r:s:Tt:U:uVvx:Z";
|
||||
* This is because long opt matching, even to a single char, is prioritized
|
||||
* over short opt matching
|
||||
*/
|
||||
static struct option const longopts[] = {
|
||||
static option const longopts[] = {
|
||||
{"auto-attr-map", no_argument, NULL, 'A'},
|
||||
{"output-attr-map", no_argument, NULL, -'A'}, // Deprecated
|
||||
{"attr-map", required_argument, NULL, 'a'},
|
||||
|
||||
Reference in New Issue
Block a user