summaryrefslogtreecommitdiff
path: root/math/rapid/files/patch-overlap.C
blob: 6b3386f128e60b683e466c6ece5f47f8986245d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- overlap.C.orig	2018-05-16 10:58:45 UTC
+++ overlap.C
@@ -41,7 +41,7 @@
 
 #include "RAPID_version.H"
 
-static char rapidtag_data[] = "RAPIDTAG  file: "__FILE__"    date: "__DATE__"    time: "__TIME__;
+static char rapidtag_data[] = "RAPIDTAG  file: " __FILE__ "    date: " __DATE__ "    time: " __TIME__;
 
 // to silence the compiler's complaints about unreferenced identifiers.
 static void r1(char *f){  r1(f);  r1(rapidtag_data);  r1(rapid_version);}
@@ -221,8 +221,8 @@ models.
 int
 obb_disjoint(double B[3][3], double T[3], double a[3], double b[3])
 {
-  register double t, s;
-  register int r;
+  double t, s;
+  int r;
   double Bf[3][3];
   const double reps = 1e-6;