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

Function get_verstring

tools/configure.c:954–968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954static void get_verstring(void)
955{
956 struct variable_s *var;
957
958 if (g_versionvars)
959 {
960 var = find_variable("CONFIG_VERSION_STRING", g_versionvars);
961 if (var && var->val)
962 {
963 g_verstring = strdup(var->val);
964 }
965 }
966
967 debug("get_verstring: Version string=%s\n", g_verstring);
968}
969
970static bool verify_appdir(const char *appdir)
971{

Callers 1

mainFunction · 0.85

Calls 3

strdupFunction · 0.85
find_variableFunction · 0.70
debugFunction · 0.70

Tested by

no test coverage detected