Revision: 75984
http://sourceforge.net/p/brlcad/code/75984
Author: brlcad
Date: 2020-05-29 16:32:03 +0000 (Fri, 29 May 2020)
Log Message:
-----------
document the struct copy
Modified Paths:
--------------
brlcad/trunk/src/libbn/poly.c
Modified: brlcad/trunk/src/libbn/poly.c
===================================================================
--- brlcad/trunk/src/libbn/poly.c 2020-05-29 15:38:58 UTC (rev 75983)
+++ brlcad/trunk/src/libbn/poly.c 2020-05-29 16:32:03 UTC (rev 75984)
@@ -168,13 +168,13 @@
void
-bn_poly_synthetic_division(register struct bn_poly *quo, register struct
bn_poly *rem, register const struct bn_poly *dvdend, register const struct
bn_poly *dvsor)
+bn_poly_synthetic_division(struct bn_poly *quo, struct bn_poly *rem, const
struct bn_poly *dvdend, const struct bn_poly *dvsor)
{
register size_t divisor;
register size_t n;
- *quo = *dvdend;
- *rem = bn_Zero_poly;
+ *quo = *dvdend; /* struct copy */
+ *rem = bn_Zero_poly; /* struct copy */
if (dvsor->dgr > dvdend->dgr) {
quo->dgr = -1;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits