Revision: 71949
          http://sourceforge.net/p/brlcad/code/71949
Author:   starseeker
Date:     2018-10-05 17:34:23 +0000 (Fri, 05 Oct 2018)
Log Message:
-----------
Remove more register specifiers for C++17

Modified Paths:
--------------
    brlcad/trunk/include/rt/primitives/arb8.h
    brlcad/trunk/include/rt/shoot.h
    brlcad/trunk/src/librt/bundle.c
    brlcad/trunk/src/librt/db5_size.cpp
    brlcad/trunk/src/librt/primitives/arb8/arb8.c
    brlcad/trunk/src/librt/primitives/brep/brep.cpp
    brlcad/trunk/src/librt/primitives/table.cpp

Modified: brlcad/trunk/include/rt/primitives/arb8.h
===================================================================
--- brlcad/trunk/include/rt/primitives/arb8.h   2018-10-05 17:26:53 UTC (rev 
71948)
+++ brlcad/trunk/include/rt/primitives/arb8.h   2018-10-05 17:34:23 UTC (rev 
71949)
@@ -39,8 +39,8 @@
     int *cgtype,
     struct rt_arb_internal *arb,
     const struct bn_tol *tol,
-    register int *uvec,  /* array of indexes to unique points in arb->pt[] */
-    register int *svec); /* array of indexes to like points in arb->pt[] */
+    int *uvec,  /* array of indexes to unique points in arb->pt[] */
+    int *svec); /* array of indexes to like points in arb->pt[] */
 RT_EXPORT extern int rt_arb_std_type(const struct rt_db_internal *ip,
                                      const struct bn_tol *tol);
 RT_EXPORT extern void rt_arb_centroid(point_t                       *cent,

Modified: brlcad/trunk/include/rt/shoot.h
===================================================================
--- brlcad/trunk/include/rt/shoot.h     2018-10-05 17:26:53 UTC (rev 71948)
+++ brlcad/trunk/include/rt/shoot.h     2018-10-05 17:34:23 UTC (rev 71949)
@@ -138,7 +138,7 @@
  * PRIVATE: this is new API and should be considered private for the
  * time being.
  */
-RT_EXPORT extern int rt_shootray_bundle(register struct application *ap, 
struct xray *rays, int nrays);
+RT_EXPORT extern int rt_shootray_bundle(struct application *ap, struct xray 
*rays, int nrays);
 
 /**
  * To be called only in non-parallel mode, to tally up the statistics

Modified: brlcad/trunk/src/librt/bundle.c
===================================================================
--- brlcad/trunk/src/librt/bundle.c     2018-10-05 17:26:53 UTC (rev 71948)
+++ brlcad/trunk/src/librt/bundle.c     2018-10-05 17:34:23 UTC (rev 71949)
@@ -71,7 +71,7 @@
  * XXX maybe parameter with NORM, UV, CURVE bits?
  */
 int
-rt_shootray_bundle(register struct application *ap, struct xray *rays, int 
nrays)
+rt_shootray_bundle(struct application *ap, struct xray *rays, int nrays)
 {
     struct rt_shootray_status ss;
     struct seg new_segs;       /* from solid intersections */

Modified: brlcad/trunk/src/librt/db5_size.cpp
===================================================================
--- brlcad/trunk/src/librt/db5_size.cpp 2018-10-05 17:26:53 UTC (rev 71948)
+++ brlcad/trunk/src/librt/db5_size.cpp 2018-10-05 17:34:23 UTC (rev 71949)
@@ -68,7 +68,7 @@
 #define DB5SIZE(_dp) ((struct db5_sizecalc *)_dp->u_data)
 
 HIDDEN int
-db_get_external_reuse(register struct bu_external *ep, const struct directory 
*dp, const struct db_i *dbip)
+db_get_external_reuse(struct bu_external *ep, const struct directory *dp, 
const struct db_i *dbip)
 {
     ep->ext_nbytes = dp->d_len;
 

Modified: brlcad/trunk/src/librt/primitives/arb8/arb8.c
===================================================================
--- brlcad/trunk/src/librt/primitives/arb8/arb8.c       2018-10-05 17:26:53 UTC 
(rev 71948)
+++ brlcad/trunk/src/librt/primitives/arb8/arb8.c       2018-10-05 17:34:23 UTC 
(rev 71949)
@@ -232,8 +232,8 @@
     int *cgtype,
     struct rt_arb_internal *arb,
     const struct bn_tol *tol,
-    register int *uvec, /* array of indexes to unique points in arb->pt[] */
-    register int *svec) /* array of indexes to like points in arb->pt[] */
+    int *uvec, /* array of indexes to unique points in arb->pt[] */
+    int *svec) /* array of indexes to like points in arb->pt[] */
 {
     register int i, j;
     int numuvec, unique;

Modified: brlcad/trunk/src/librt/primitives/brep/brep.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/brep/brep.cpp     2018-10-05 17:26:53 UTC 
(rev 71948)
+++ brlcad/trunk/src/librt/primitives/brep/brep.cpp     2018-10-05 17:34:23 UTC 
(rev 71949)
@@ -76,12 +76,12 @@
 #endif
 int rt_brep_bbox(struct rt_db_internal* ip, point_t *min, point_t *max, const 
struct bn_tol *tol);
 int rt_brep_prep(struct soltab *stp, struct rt_db_internal* ip, struct rt_i* 
rtip);
-void rt_brep_print(register const struct soltab *stp);
-int rt_brep_shot(struct soltab *stp, register struct xray *rp, struct 
application *ap, struct seg *seghead);
-void rt_brep_norm(register struct hit *hitp, struct soltab *stp, register 
struct xray *rp);
-void rt_brep_curve(register struct curvature *cvp, register struct hit *hitp, 
struct soltab *stp);
-void rt_brep_uv(struct application *ap, struct soltab *stp, register struct 
hit *hitp, register struct uvcoord *uvp);
-void rt_brep_free(register struct soltab *stp);
+void rt_brep_print(const struct soltab *stp);
+int rt_brep_shot(struct soltab *stp, struct xray *rp, struct application *ap, 
struct seg *seghead);
+void rt_brep_norm(struct hit *hitp, struct soltab *stp, struct xray *rp);
+void rt_brep_curve(struct curvature *cvp, struct hit *hitp, struct soltab 
*stp);
+void rt_brep_uv(struct application *ap, struct soltab *stp, struct hit *hitp, 
struct uvcoord *uvp);
+void rt_brep_free(struct soltab *stp);
 int rt_brep_adaptive_plot(struct rt_db_internal *ip, const struct rt_view_info 
*info);
 int rt_brep_plot(struct bu_list *vhead, struct rt_db_internal *ip, const 
struct rt_tess_tol *ttol, const struct bn_tol *tol, const struct rt_view_info 
*UNUSED(info));
 int rt_brep_tess(struct nmgregion **r, struct model *m, struct rt_db_internal 
*ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol);
@@ -88,7 +88,7 @@
 int rt_brep_get(struct bu_vls *logstr, const struct rt_db_internal *intern, 
const char *attr);
 int rt_brep_adjust(struct bu_vls *logstr, const struct rt_db_internal *intern, 
int argc, const char **argv);
 int rt_brep_export5(struct bu_external *ep, const struct rt_db_internal *ip, 
double local2mm, const struct db_i *dbip);
-int rt_brep_import5(struct rt_db_internal *ip, const struct bu_external *ep, 
register const fastf_t *mat, const struct db_i *dbip);
+int rt_brep_import5(struct rt_db_internal *ip, const struct bu_external *ep, 
const fastf_t *mat, const struct db_i *dbip);
 void rt_brep_ifree(struct rt_db_internal *ip);
 int rt_brep_describe(struct bu_vls *str, const struct rt_db_internal *ip, int 
verbose, double mm2local);
 int rt_brep_params(struct pc_pc_set *, const struct rt_db_internal *ip);
@@ -1188,7 +1188,7 @@
  * >0 HIT
  */
 int
-rt_brep_shot(struct soltab *stp, register struct xray *rp, struct application 
*ap, struct seg *seghead)
+rt_brep_shot(struct soltab *stp, struct xray *rp, struct application *ap, 
struct seg *seghead)
 {
     struct brep_specific* bs;
 

Modified: brlcad/trunk/src/librt/primitives/table.cpp
===================================================================
--- brlcad/trunk/src/librt/primitives/table.cpp 2018-10-05 17:26:53 UTC (rev 
71948)
+++ brlcad/trunk/src/librt/primitives/table.cpp 2018-10-05 17:34:23 UTC (rev 
71949)
@@ -43,7 +43,7 @@
 
 #define RT_DECLARE_INTERFACE(name) \
     extern int rt_##name##_prep(struct soltab *stp, struct rt_db_internal *ip, 
struct rt_i *rtip); \
-    extern int rt_##name##_shot(struct soltab *stp, register struct xray *rp, 
struct application *ap, struct seg *seghead); \
+    extern int rt_##name##_shot(struct soltab *stp, struct xray *rp, struct 
application *ap, struct seg *seghead); \
     extern int rt_##name##_piece_shot(struct rt_piecestate *psp, struct 
rt_piecelist *plp, double dist_corr, struct xray *rp, struct application *ap, 
struct seg *seghead); \
     extern void rt_##name##_piece_hitsegs(struct rt_piecestate *psp, struct 
seg *seghead, struct application *ap); \
     extern void rt_##name##_print(const struct soltab *stp); \

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to