Ignore:
Timestamp:
Mar 5, 2009, 12:05:03 AM (16 years ago)
Author:
[email protected]
Message:

Fix the build.

Sprinkle "static" around NumberConstructor.cpp in order to please the compiler.

  • runtime/NumberConstructor.cpp:

(JSC::numberConstructorNaNValue):
(JSC::numberConstructorNegInfinity):
(JSC::numberConstructorPosInfinity):
(JSC::numberConstructorMaxValue):
(JSC::numberConstructorMinValue):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/NumberConstructor.cpp

    r40046 r41445  
    6969}
    7070
    71 JSValuePtr numberConstructorNaNValue(ExecState* exec, const Identifier&, const PropertySlot&)
     71static JSValuePtr numberConstructorNaNValue(ExecState* exec, const Identifier&, const PropertySlot&)
    7272{
    7373    return jsNaN(exec);
    7474}
    7575
    76 JSValuePtr numberConstructorNegInfinity(ExecState* exec, const Identifier&, const PropertySlot&)
     76static JSValuePtr numberConstructorNegInfinity(ExecState* exec, const Identifier&, const PropertySlot&)
    7777{
    7878    return jsNumber(exec, -Inf);
    7979}
    8080
    81 JSValuePtr numberConstructorPosInfinity(ExecState* exec, const Identifier&, const PropertySlot&)
     81static JSValuePtr numberConstructorPosInfinity(ExecState* exec, const Identifier&, const PropertySlot&)
    8282{
    8383    return jsNumber(exec, Inf);
    8484}
    8585
    86 JSValuePtr numberConstructorMaxValue(ExecState* exec, const Identifier&, const PropertySlot&)
     86static JSValuePtr numberConstructorMaxValue(ExecState* exec, const Identifier&, const PropertySlot&)
    8787{
    8888    return jsNumber(exec, 1.7976931348623157E+308);
    8989}
    9090
    91 JSValuePtr numberConstructorMinValue(ExecState* exec, const Identifier&, const PropertySlot&)
     91static JSValuePtr numberConstructorMinValue(ExecState* exec, const Identifier&, const PropertySlot&)
    9292{
    9393    return jsNumber(exec, 5E-324);
Note: See TracChangeset for help on using the changeset viewer.