(do_variable_definition): fix API consistency for supporting parent_records.

Signed-off-by: Macpaul Lin <macp...@gmail.com>
---
Changes for v2:
  - no changes.

 load.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/load.c b/load.c
index b937c9f..78b800f 100644
--- a/load.c
+++ b/load.c
@@ -214,7 +214,8 @@ load_file (const gmk_floc *flocp, const char **ldname, int 
noerror)
 
   /* If it succeeded, add the load file to the loaded variable.  */
   if (r > 0)
-    do_variable_definition (flocp, ".LOADED", *ldname, o_default, f_append, 0);
+    do_variable_definition (flocp, ".LOADED", *ldname, o_default, f_append, 0,
+                            NULL);
 
   return r;
 }
-- 
1.9.1


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to