summaryrefslogtreecommitdiff
path: root/variable.h
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-02-25 01:38:36 -0500
committerPaul Smith <psmith@gnu.org>2013-02-25 01:38:36 -0500
commit50ba7088f3fe2ef854acbfdc90bd93498f3f0f4c (patch)
treefa24d78c8f51c77371464d6c03b3aaf886c8f86a /variable.h
parent103ecab8bf3395cfd3a690fe89f0a63653d83cf8 (diff)
downloadmake-50ba7088f3fe2ef854acbfdc90bd93498f3f0f4c.tar.gz
Expand the loadable object support.
Provide a simple API for loaded objects to interact with GNU make. I still won't guarantee that this API won't change but it's much closer to something that's supported and provides easy-to-use interfaces with a public header file.
Diffstat (limited to 'variable.h')
-rw-r--r--variable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.h b/variable.h
index ac096d45..9b5d6130 100644
--- a/variable.h
+++ b/variable.h
@@ -167,7 +167,7 @@ void init_hash_global_variable_set (void);
void hash_init_function_table (void);
void define_new_function(const gmk_floc *flocp,
const char *name, int min, int max, int expand,
- char *(*func)(char *, char **, const char *));
+ char *(*func)(const char *, int, char **));
struct variable *lookup_variable (const char *name, unsigned int length);
struct variable *lookup_variable_in_set (const char *name, unsigned int length,
const struct variable_set *set);