Changeset 1725 in kBuild for trunk/src/kmk
- Timestamp:
- Sep 5, 2008 1:43:19 AM (16 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/kbuild.c
r1622 r1725 54 54 55 55 /******************************************************************************* 56 * Internal Functions *57 *******************************************************************************/58 /* function.c */59 char * abspath(const char *name, char *apath);60 61 /*******************************************************************************62 56 * Global Variables * 63 57 *******************************************************************************/ … … 185 179 else 186 180 g_pszExeName = xstrdup(szTmp); 181 182 (void)argc; 187 183 } 188 184 … … 434 430 { 435 431 #ifndef NDEBUG 436 unsignedi;432 int i; 437 433 #endif 438 434 struct variable *pVar = lookup_variable(pszName, strlen(pszName)); … … 467 463 { 468 464 #ifndef NDEBUG 469 unsignedi;465 int i; 470 466 #endif 471 467 struct variable *pVar = lookup_variable(pszName, strlen(pszName)); … … 498 494 { 499 495 #ifndef NDEBUG 500 unsignedi;496 int i; 501 497 #endif 502 498 struct variable *pVar = lookup_variable(pszName, strlen(pszName)); … … 554 550 { 555 551 #ifndef NDEBUG 556 unsignedi = strlen(pVar->value);552 int i = strlen(pVar->value); 557 553 if (i != pVar->value_length) 558 554 { … … 784 780 if (pVar) 785 781 o = variable_buffer_output(o, pVar->value, pVar->value_length); 782 (void)pszFuncName; 786 783 return o; 787 784 … … 831 828 if (pVar) 832 829 o = variable_buffer_output(o, pVar->value, pVar->value_length); 830 (void)pszFuncName; 833 831 return o; 834 832 … … 994 992 if (pVar) 995 993 o = variable_buffer_output(o, pVar->value, pVar->value_length); 994 (void)pszFuncName; 996 995 return o; 997 996 … … 1020 1019 struct variable *pBldType, struct variable *pBldTrg, struct variable *pBldTrgArch) 1021 1020 { 1022 int i, j; 1021 unsigned i; 1022 unsigned j; 1023 1023 size_t cchTmp, cch; 1024 1024 char *pszTmp; … … 1108 1108 for (i = j = 0; j < sizeof(pSdks->apsz) / sizeof(pSdks->apsz[0]); j++) 1109 1109 { 1110 int k = i;1111 1110 pszIterator = pSdks->apsz[j]; 1112 1111 while ((pszCur = find_next_token(&pszIterator, &cchCur)) != 0) … … 1553 1552 1554 1553 kbuild_put_sdks(&Sdks); 1554 (void)pszFuncName; 1555 1555 return o; 1556 1556 } … … 1834 1834 1835 1835 kbuild_put_sdks(&Sdks); 1836 (void)pszFuncName; 1837 (void)argv; 1836 1838 return variable_buffer_output(o, "", 1); 1837 1839 } -
trunk/src/kmk/make.h
r1724 r1725 733 733 #endif 734 734 735 #ifdef KMK 736 extern char *abspath(const char *name, char *apath); 737 extern char *func_breakpoint(char *o, char **argv, const char *funcname); 738 #endif
Note:
See TracChangeset
for help on using the changeset viewer.