projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Better handling of collision with AIX stpncpy() function.
[gnulib.git]
/
lib
/
gcd.h
diff --git
a/lib/gcd.h
b/lib/gcd.h
index
37ff21e
..
39ea5ed
100644
(file)
--- a/
lib/gcd.h
+++ b/
lib/gcd.h
@@
-1,6
+1,6
@@
/* Arithmetic.
/* Arithmetic.
- Copyright (C) 2001 Free Software Foundation, Inc.
- Written by Bruno Haible <
haible@clisp.cons
.org>, 2001.
+ Copyright (C) 2001
-2002
Free Software Foundation, Inc.
+ Written by Bruno Haible <
bruno@clisp
.org>, 2001.
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
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
@@
-19,15
+19,7
@@
#ifndef _GCD_H
#define _GCD_H
#ifndef _GCD_H
#define _GCD_H
-#ifndef PARAMS
-# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
-# define PARAMS(args) args
-# else
-# define PARAMS(args) ()
-# endif
-#endif
-
/* Return the greatest common divisor of a > 0 and b > 0. */
/* Return the greatest common divisor of a > 0 and b > 0. */
-extern unsigned
int gcd PARAMS ((unsigned int a, unsigned int b)
);
+extern unsigned
long gcd (unsigned long a, unsigned long b
);
#endif /* _GCD_H */
#endif /* _GCD_H */