======================= Sys_ConcatenateFileLists mkv: Naive implementation. Concatenates three lists into a new list, and frees the old lists from the heap. bk001129 - from cvs1.17 (mkv) FIXME TTimo those two should move to common.c next to Sys_ListFiles ======================= */
| 2229 | ======================= |
| 2230 | */ |
| 2231 | static unsigned int Sys_CountFileList(char **fileList) |
| 2232 | { |
| 2233 | int i = 0; |
| 2234 | |
| 2235 | if (fileList) |
| 2236 | { |
| 2237 | while (*fileList) |
| 2238 | { |
| 2239 | fileList++; |
| 2240 | i++; |
| 2241 | } |
| 2242 | } |
| 2243 | return i; |
| 2244 | } |
| 2245 | |
| 2246 | static char** Sys_ConcatenateFileLists( char **list0, char **list1, char **list2 ) |
| 2247 | { |
no outgoing calls
no test coverage detected