modules/fdlibm/patches/03_put_fdlibm_functions_into_fdlibm_namespace.patch
author Bob Owen <bobowencode@gmail.com>
Thu, 17 Nov 2016 15:48:52 +0000
changeset 368150 1a72c49193716fb43d032d756f873bc7d284cce1
parent 357485 922941564e6a07117bd3d607f509de2dc57eab76
child 556352 62e38ee5dd16ba4e0692b8537dc5254d29fba51c
permissions -rw-r--r--
Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug

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 */