MCPcopy Create free account
hub / github.com/apache/nuttx / push_dependency

Function push_dependency

tools/kconfig2html.c:1023–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1021 ****************************************************************************/
1022
1023static void push_dependency(const char *dependency)
1024{
1025 int ndx = g_ndependencies;
1026
1027 if (ndx >= MAX_DEPENDENCIES)
1028 {
1029 error("Too many dependencies, aborting\n");
1030 exit(ERROR_TOO_MANY_DEPENDENCIES);
1031 }
1032
1033 g_dependencies[ndx] = strdup(dependency);
1034 g_ndependencies = ndx + 1;
1035}
1036
1037/****************************************************************************
1038 * Name: pop_dependency

Callers 2

process_dependsonFunction · 0.85
parse_kconfigfileFunction · 0.85

Calls 3

errorFunction · 0.85
exitFunction · 0.85
strdupFunction · 0.85

Tested by

no test coverage detected