X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fgcd.h;h=cf2b7fd84c90d034dbdfb9542f7c4dc6f8d4d2db;hb=b566a1cae5310716bad3151cee69f943915b2d31;hp=6fbaf824296f1801753172cbba932548e5f1fa14;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/gcd.h b/lib/gcd.h index 6fbaf8242..cf2b7fd84 100644 --- a/lib/gcd.h +++ b/lib/gcd.h @@ -1,5 +1,5 @@ /* Arithmetic. - Copyright (C) 2001-2002 Free Software Foundation, Inc. + Copyright (C) 2001-2002, 2006 Free Software Foundation, Inc. Written by Bruno Haible , 2001. This program is free software; you can redistribute it and/or modify @@ -19,7 +19,17 @@ #ifndef _GCD_H #define _GCD_H +#ifdef __cplusplus +extern "C" { +#endif + + /* Return the greatest common divisor of a > 0 and b > 0. */ extern unsigned long gcd (unsigned long a, unsigned long b); + +#ifdef __cplusplus +} +#endif + #endif /* _GCD_H */