Changeset 25340 in webkit


Ignore:
Timestamp:
Sep 1, 2007 12:43:31 AM (17 years ago)
Author:
rwlbuis
Message:

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=15083
Some symbols in WebKit do not need to be exported

Do not export these symbols.

Location:
trunk/WebCore
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r25335 r25340  
     12007-09-01  Rob Buis  <buis@kde.org>
     2
     3        Reviewed by Darin.
     4
     5        http://bugs.webkit.org/show_bug.cgi?id=15083
     6        Some symbols in WebKit do not need to be exported
     7
     8        Do not export these symbols.
     9
     10        * dom/QualifiedName.cpp:
     11        (WebCore::hashComponents):
     12        * dom/XMLTokenizer.cpp:
     13        (WebCore::toString):
     14        (WebCore::getTokenizer):
     15        * history/HistoryItem.cpp:
     16        (WebCore::defaultNotifyHistoryItemChanged):
     17        * platform/Arena.cpp:
     18        (WebCore::CeilingLog2):
     19        * platform/graphics/Color.cpp:
     20        (WebCore::calcHue):
     21        * platform/graphics/Path.cpp:
     22        (WebCore::pathLengthApplierFunction):
     23        * platform/graphics/cg/PathCG.cpp:
     24        (WebCore::CGPathToCFStringApplierFunction):
     25        (WebCore::CFStringFromCGPath):
     26        * rendering/RenderText.cpp:
     27        (WebCore::isSpaceAccordingToStyle):
     28
    1292007-08-31  Alice Liu  <alice.liu@apple.com>
    230
  • trunk/WebCore/dom/QualifiedName.cpp

    r15781 r25340  
    4444static const unsigned PHI = 0x9e3779b9U;
    4545   
    46 inline unsigned hashComponents(const QualifiedNameComponents& buf)
     46static inline unsigned hashComponents(const QualifiedNameComponents& buf)
    4747{
    4848    ASSERT(sizeof(QualifiedNameComponents) % (sizeof(uint16_t) * 2) == 0);
  • trunk/WebCore/dom/XMLTokenizer.cpp

    r25098 r25340  
    613613}
    614614#ifndef USE_QXMLSTREAM
    615 inline String toString(const xmlChar* str, unsigned len)
     615static inline String toString(const xmlChar* str, unsigned len)
    616616{
    617617    return UTF8Encoding().decode(reinterpret_cast<const char*>(str), len);
    618618}
    619619
    620 inline String toString(const xmlChar* str)
     620static inline String toString(const xmlChar* str)
    621621{
    622622    if (!str)
     
    953953}
    954954
    955 inline XMLTokenizer* getTokenizer(void* closure)
     955static inline XMLTokenizer* getTokenizer(void* closure)
    956956{
    957957    xmlParserCtxtPtr ctxt = static_cast<xmlParserCtxtPtr>(closure);
  • trunk/WebCore/history/HistoryItem.cpp

    r25275 r25340  
    3838namespace WebCore {
    3939
    40 void defaultNotifyHistoryItemChanged() {}
     40static void defaultNotifyHistoryItemChanged() {}
    4141void (*notifyHistoryItemChanged)() = defaultNotifyHistoryItemChanged;
    4242
  • trunk/WebCore/platform/Arena.cpp

    r20496 r25340  
    8585      (_log2) += 1;
    8686
    87 int CeilingLog2(unsigned int i) {
     87static int CeilingLog2(unsigned int i) {
    8888    int log2;
    8989    CEILING_LOG2(log2,i);
     
    284284}
    285285
    286 void ArenaFinish(void)
    287 {
    288     Arena *a, *next;
    289 
    290     for (a = arena_freelist; a; a = next) {
    291         next = a->next;
    292         fastFree(a); a = 0;
    293     }
    294     arena_freelist = NULL;
    295 }
    296 
    297 }
     286}
  • trunk/WebCore/platform/graphics/Color.cpp

    r24481 r25340  
    5252}
    5353
    54 double calcHue(double temp1, double temp2, double hueVal)
     54static double calcHue(double temp1, double temp2, double hueVal)
    5555{
    5656    if (hueVal < 0.0)
  • trunk/WebCore/platform/graphics/Path.cpp

    r23948 r25340  
    4040namespace WebCore {
    4141
    42 void pathLengthApplierFunction(void* info, const PathElement* element)
     42static void pathLengthApplierFunction(void* info, const PathElement* element)
    4343{
    4444    PathTraversalState& traversalState = *static_cast<PathTraversalState*>(info);
  • trunk/WebCore/platform/graphics/cg/PathCG.cpp

    r21316 r25340  
    148148 }
    149149
    150 void CGPathToCFStringApplierFunction(void* info, const CGPathElement *element)
     150static void CGPathToCFStringApplierFunction(void* info, const CGPathElement *element)
    151151{
    152152    CFMutableStringRef string = (CFMutableStringRef)info;
     
    174174}
    175175
    176 CFStringRef CFStringFromCGPath(CGPathRef path)
     176static CFStringRef CFStringFromCGPath(CGPathRef path)
    177177{
    178178    if (!path)
  • trunk/WebCore/rendering/RenderText.cpp

    r25319 r25340  
    493493}
    494494
    495 inline bool isSpaceAccordingToStyle(UChar c, RenderStyle* style)
     495static inline bool isSpaceAccordingToStyle(UChar c, RenderStyle* style)
    496496{
    497497    return c == ' ' || (c == noBreakSpace && style->nbspMode() == SPACE);
Note: See TracChangeset for help on using the changeset viewer.