diff options
author | Paul Smith <psmith@gnu.org> | 2009-10-25 00:26:34 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2009-10-25 00:26:34 +0000 |
commit | db63fa4b986b01b3bd467feaa249771161cf2037 (patch) | |
tree | 4e2d4f7e9118fff37e91b4a1377d171dc4f6ca36 /variable.h | |
parent | 00a50bbd6c84671b0afc72a1ca22e1a9bdf4688b (diff) | |
download | make-db63fa4b986b01b3bd467feaa249771161cf2037.tar.gz |
Various simple code cleanups.
Diffstat (limited to 'variable.h')
-rw-r--r-- | variable.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -180,6 +180,12 @@ struct variable *define_variable_in_set (const char *name, unsigned int length, define_variable_in_set((n),(l),(v),(o),(r),\ current_variable_set_list->set,NILF) +/* Define a variable with a constant name in the current variable set. */ + +#define define_variable_cname(n,v,o,r) \ + define_variable_in_set((n),(sizeof (n) - 1),(v),(o),(r),\ + current_variable_set_list->set,NILF) + /* Define a variable with a location in the current variable set. */ #define define_variable_loc(n,l,v,o,r,f) \ |