Ignore:
Timestamp:
Jan 23, 2015, 10:46:30 PM (10 years ago)
Author:
bird
Message:

kmk: Save 20+ MB of memory for chopped receipt command lines by freeing them after we're done evaluating a target.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/commands.h

    r2594 r2753  
    5757void delete_child_targets (struct child *child);
    5858void chop_commands (struct commands *cmds);
     59#ifdef KMK
     60void free_chopped_commands (struct commands *cmd);
     61#endif
    5962#if defined(CONFIG_WITH_COMMANDS_FUNC) || defined (CONFIG_WITH_DOT_MUST_MAKE)
    6063void set_file_variables (struct file *file, int called_early);
Note: See TracChangeset for help on using the changeset viewer.