Ignore:
Timestamp:
Oct 24, 2008, 10:40:32 PM (17 years ago)
Author:
bird
Message:

kmk: moved suffixes_strcached to strcache.c and global scope.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/strcache.c

    r1895 r1933  
    250250
    251251#include "strcache2.h"
     252
     253const char *suffixes_strcached;
    252254
    253255/* The file string cache. */
     
    266268#endif
    267269                 0);            /* thread safe */
     270
     271  /* .SUFFIXES is referenced in several loops, keep the added pointer in a
     272     global var so these can be optimized. */
     273
     274  suffixes_strcached = strcache_add_len (".SUFFIXES", sizeof (".SUFFIXES")-1);
    268275}
    269276
Note: See TracChangeset for help on using the changeset viewer.