BSD 4_4 release
[unix-history] / usr / src / lib / libmp / mdiv.c
index 1f8a0fc..79ed07a 100644 (file)
@@ -1,3 +1,13 @@
+/*-
+ * This module is believed to contain source code proprietary to AT&T.
+ * Use and redistribution is subject to the Berkeley Software License
+ * Agreement and your Software Agreement with AT&T (Western Electric).
+ */
+
+#ifndef lint
+static char sccsid[] = "@(#)mdiv.c     8.1 (Berkeley) 6/4/93";
+#endif /* not lint */
+
 #include <mp.h>
 mdiv(a,b,q,r) MINT *a,*b,*q,*r;
 {      MINT x,y;
 #include <mp.h>
 mdiv(a,b,q,r) MINT *a,*b,*q,*r;
 {      MINT x,y;
@@ -20,7 +30,8 @@ mdiv(a,b,q,r) MINT *a,*b,*q,*r;
 }
 m_dsb(q,n,a,b) short *a,*b;
 {      long int x,qx;
 }
 m_dsb(q,n,a,b) short *a,*b;
 {      long int x,qx;
-       int borrow,j,u;
+       int borrow,j;
+       short u;
        qx=q;
        borrow=0;
        for(j=0;j<n;j++)
        qx=q;
        borrow=0;
        for(j=0;j<n;j++)