projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3 release
[unix-history]
/
usr
/
src
/
usr.lib
/
libmp
/
gcd.c
diff --git
a/usr/src/usr.lib/libmp/gcd.c
b/usr/src/usr.lib/libmp/gcd.c
index
df3e0ef
..
aa283df
100644
(file)
--- a/
usr/src/usr.lib/libmp/gcd.c
+++ b/
usr/src/usr.lib/libmp/gcd.c
@@
-1,4
+1,6
@@
-/* @(#)gcd.c 4.1 12/25/82 */
+#ifndef lint
+static char sccsid[] = "@(#)gcd.c 5.3 (Berkeley) 3/2/87";
+#endif not lint
#include <mp.h>
gcd(a,b,c) MINT *a,*b,*c;
#include <mp.h>
gcd(a,b,c) MINT *a,*b,*c;
@@
-23,7
+25,7
@@
invert(a, b, c) MINT *a, *b, *c;
int i = 0;
x.len = y.len = z.len = w.len = Aold.len = 0;
Anew.len = 1;
int i = 0;
x.len = y.len = z.len = w.len = Aold.len = 0;
Anew.len = 1;
- Anew.val = xalloc(1);
+ Anew.val = xalloc(1
, "invert"
);
*Anew.val = 1;
move(b, &x);
move(a, &y);
*Anew.val = 1;
move(b, &x);
move(a, &y);