Skip to content

Commit 18ba1cc

Browse files
authored
Merge pull request #361 from wally4000/macos_fix
Modernise gcd
2 parents 46dfad3 + 0fa1152 commit 18ba1cc

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tools/getopt_long.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,7 @@ static const char illoptstring[] = "unknown option -- %s";
8787
/*
8888
* Compute the greatest common divisor of a and b.
8989
*/
90-
static int
91-
gcd(a, b)
92-
int a;
93-
int b;
90+
static int gcd(int a, int b)
9491
{
9592
int c;
9693

0 commit comments

Comments
 (0)