1 #ifndef EXPANDCHILDREN_H 2 #define EXPANDCHILDREN_H 3 /* $OpenBSD: expandchildren.h,v 1.1 2020/01/13 14:05:21 espie Exp $ */ 4 5 extern void LinkParent(GNode *, GNode *); 6 7 /* partial expansion of children. */ 8 extern void expand_children_from(GNode *, LstNode); 9 /* expand_all_children(gn): 10 * figure out all variable/wildcards expansions in gn. 11 * TODO pretty sure this is independent from the main suff module. 12 */ 13 #define expand_all_children(gn) \ 14 expand_children_from(gn, Lst_First(&(gn)->children)) 15 16 #endif 17