mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +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:
@@ -36,7 +36,7 @@ static const char *optstring = "Ccf:i:jk:l:m:n:Op:r:st:Vv";
|
||||
* 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[] = {
|
||||
{ "color-only", no_argument, NULL, 'C' },
|
||||
{ "color-compatible", no_argument, NULL, 'c' },
|
||||
{ "fix-spec", required_argument, NULL, 'f' },
|
||||
|
||||
Reference in New Issue
Block a user