Skip to content

Commit 0fa1152

Browse files
committed
Modernise gcd
1 parent 46dfad3 commit 0fa1152

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)