Reviewed by Darin.
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 18:27:47 +0000 (18:27 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Oct 2006 18:27:47 +0000 (18:27 +0000)
        Fix build with older gcc 3.3.4.

        * kjs/DateMath.cpp: Remove inline prefix.
        (KJS::equivalentYearForDST):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17333 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/DateMath.cpp

index cc625ee634faf8bcf97169163b70a804cc307ef0..f32795f68d93923754e17a0f2117b330b931df21 100644 (file)
@@ -1,3 +1,12 @@
+2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
+
+        Reviewed by Darin.
+
+        Fix build with older gcc 3.3.4.
+
+        * kjs/DateMath.cpp: Remove inline prefix.
+        (KJS::equivalentYearForDST):
+
 2006-10-26  Darin Adler  <darin@apple.com>
 
         Reviewed by John.
index e161b90b7a4306d2abf2b415ba35976cde5616ab..4a12a9d0a29930a026715ca52d12d5391462fc57 100644 (file)
@@ -296,7 +296,7 @@ static int dateToDayInYear(int year, int month, int day)
  * for determining DST; it hasn't been proven not to produce an
  * incorrect year for times near year boundaries.
  */
-inline int equivalentYearForDST(int year)
+int equivalentYearForDST(int year)
 {
     int day;