Changeset 1867 for trunk/src/kmk/main.c


Ignore:
Timestamp:
Oct 15, 2008, 3:28:32 AM (17 years ago)
Author:
bird
Message:

kmk: commands and file allocation caches.

File:
1 edited

Legend:

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

    r1864 r1867  
    646646#ifdef CONFIG_WITH_ALLOC_CACHES
    647647struct alloccache dep_cache;
     648struct alloccache file_cache;
     649struct alloccache commands_cache;
    648650struct alloccache nameseq_cache;
    649651struct alloccache variable_cache;
     
    655657{
    656658  alloccache_init (&dep_cache,               sizeof (struct dep),               "dep",               NULL, NULL);
     659  alloccache_init (&file_cache,              sizeof (struct file),              "file",              NULL, NULL);
     660  alloccache_init (&commands_cache,          sizeof (struct commands),          "commands",          NULL, NULL);
    657661  alloccache_init (&nameseq_cache,           sizeof (struct nameseq),           "nameseq",           NULL, NULL);
    658662  alloccache_init (&variable_cache,          sizeof (struct variable),          "variable",          NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.