projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b11bef0
)
* loadapi.c (gmk_eval): Use C90 syntax.
author
Paul Smith
<psmith@gnu.org>
Tue, 30 Sep 2014 12:32:06 +0000
(08:32 -0400)
committer
Paul Smith
<psmith@gnu.org>
Tue, 30 Sep 2014 12:32:06 +0000
(08:32 -0400)
loadapi.c
patch
|
blob
|
history
diff --git
a/loadapi.c
b/loadapi.c
index acf6f844f0ee5ea820d835f92587a8058d66252f..298ebf8ea525a5793e0312225c357f431022f5b8 100644
(file)
--- a/
loadapi.c
+++ b/
loadapi.c
@@
-42,10
+42,11
@@
gmk_eval (const char *buffer, const gmk_floc *floc)
/* Preserve existing variable buffer context. */
char *pbuf;
unsigned int plen;
+ char *s;
install_variable_buffer (&pbuf, &plen);
-
char *
s = xstrdup (buffer);
+ s = xstrdup (buffer);
eval_buffer (s, floc);
free (s);