Revision: 75985
http://sourceforge.net/p/brlcad/code/75985
Author: brlcad
Date: 2020-05-29 16:33:10 +0000 (Fri, 29 May 2020)
Log Message:
-----------
register is no longer cool, but still removing with caution as our hints are
making a difference on performance
Modified Paths:
--------------
brlcad/trunk/src/librt/roots.c
Modified: brlcad/trunk/src/librt/roots.c
===================================================================
--- brlcad/trunk/src/librt/roots.c 2020-05-29 16:32:03 UTC (rev 75984)
+++ brlcad/trunk/src/librt/roots.c 2020-05-29 16:33:10 UTC (rev 75985)
@@ -232,7 +232,7 @@
* Deflates a polynomial by a given root.
*/
void
-rt_poly_deflate(register bn_poly_t *oldP, register bn_complex_t *root)
+rt_poly_deflate(bn_poly_t *oldP, bn_complex_t *root)
{
bn_poly_t divisor = bn_Zero_poly;
bn_poly_t rem = bn_Zero_poly;
@@ -263,8 +263,8 @@
int
-rt_poly_roots(register bn_poly_t *eqn, /* equation to be solved */
- register bn_complex_t roots[], /* space to put roots found */
+rt_poly_roots(bn_poly_t *eqn, /* equation to be solved */
+ bn_complex_t roots[], /* space to put roots found */
const char *name) /* name of the primitive being checked */
{
register size_t n; /* number of roots found */
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