| 1021 | ****************************************************************************/ |
| 1022 | |
| 1023 | static 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 |
no test coverage detected