Ignore:
Timestamp:
Dec 30, 2013, 10:30:47 PM (12 years ago)
Author:
bird
Message:

kmk: Variable aliases.

File:
1 edited

Legend:

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

    r2717 r2718  
    8989#ifdef CONFIG_WITH_RDONLY_VARIABLE_VALUE
    9090    unsigned int rdonly_val:1;  /* VALUE is read only (strcache/const). */
     91#endif
     92#ifdef KMK
     93    unsigned int alias:1;       /* Nonzero if alias. VALUE points to the real variable. */
     94    unsigned int aliased:1;     /* Nonzero if aliased. Cannot be undefined. */
    9195#endif
    9296    enum variable_flavor
     
    450454          undefine_variable_in_set((n),(l),(o),NULL)
    451455
     456#ifdef KMK
     457struct variable *
     458define_variable_alias_in_set (const char *name, unsigned int length,
     459                              struct variable *target, enum variable_origin origin,
     460                              struct variable_set *set, const struct floc *flocp);
     461#endif
     462
    452463/* Warn that NAME is an undefined variable.  */
    453464
Note: See TracChangeset for help on using the changeset viewer.