summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSDateMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSDateMath.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSDateMath.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/Source/JavaScriptCore/runtime/JSDateMath.h b/Source/JavaScriptCore/runtime/JSDateMath.h
index 20a71c93b..5e8138203 100644
--- a/Source/JavaScriptCore/runtime/JSDateMath.h
+++ b/Source/JavaScriptCore/runtime/JSDateMath.h
@@ -40,8 +40,7 @@
*
*/
-#ifndef JSDateMath_h
-#define JSDateMath_h
+#pragma once
#include <wtf/DateMath.h>
#include <wtf/GregorianDateTime.h>
@@ -50,12 +49,10 @@ namespace JSC {
class VM;
-void msToGregorianDateTime(VM&, double, WTF::TimeType outputTimeType, GregorianDateTime&);
-double gregorianDateTimeToMS(VM&, const GregorianDateTime&, double, WTF::TimeType inputTimeType);
-double getUTCOffset(VM&);
-double parseDateFromNullTerminatedCharacters(VM&, const char* dateString);
-double parseDate(VM&, const WTF::String&);
+JS_EXPORT_PRIVATE void msToGregorianDateTime(VM&, double, WTF::TimeType outputTimeType, GregorianDateTime&);
+JS_EXPORT_PRIVATE double gregorianDateTimeToMS(VM&, const GregorianDateTime&, double, WTF::TimeType inputTimeType);
+JS_EXPORT_PRIVATE double getUTCOffset(VM&);
+JS_EXPORT_PRIVATE double parseDateFromNullTerminatedCharacters(VM&, const char* dateString);
+JS_EXPORT_PRIVATE double parseDate(VM&, const WTF::String&);
} // namespace JSC
-
-#endif // JSDateMath_h