summaryrefslogtreecommitdiffstats
path: root/modules/fdlibm/patches/03_put_fdlibm_functions_into_fdlibm_namespace.patch
blob: 66ae4525fd2d745e79cd7a46eb183b417b949d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff --git a/modules/fdlibm/src/fdlibm.h b/modules/fdlibm/src/fdlibm.h
--- a/modules/fdlibm/src/fdlibm.h
+++ b/modules/fdlibm/src/fdlibm.h
@@ -12,16 +12,18 @@
 /*
  * from: @(#)fdlibm.h 5.1 93/09/24
  * $FreeBSD$
  */
 
 #ifndef mozilla_imported_fdlibm_h
 #define mozilla_imported_fdlibm_h
 
+namespace fdlibm {
+
 double	acos(double);
 double	asin(double);
 double	atan(double);
 double	atan2(double, double);
 
 double	cosh(double);
 double	sinh(double);
 double	tanh(double);
@@ -53,9 +55,11 @@ double	scalbn(double, int);
 
 float	ceilf(float);
 float	floorf(float);
 
 float	nearbyintf(float);
 float	rintf(float);
 float	truncf(float);
 
+} /* namespace fdlibm */
+
 #endif /* mozilla_imported_fdlibm_h */