1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00

rename AddSubSearchPathFromWinBin to AddSubSearchPathFromBin

This commit is contained in:
rofl0r 2022-04-27 21:11:01 +00:00 committed by mrdudz
parent 6a5375ace4
commit 6f74a2e9c7
6 changed files with 9 additions and 10 deletions

View File

@ -80,5 +80,5 @@ void FinishIncludePaths (void)
#endif
/* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (IncSearchPath, "asminc");
AddSubSearchPathFromBin (IncSearchPath, "asminc");
}

View File

@ -81,5 +81,5 @@ void FinishIncludePaths (void)
#endif
/* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (SysIncSearchPath, "include");
AddSubSearchPathFromBin (SysIncSearchPath, "include");
}

View File

@ -1218,7 +1218,7 @@ static void OptPrintTargetPath (const char* Opt attribute ((unused)),
#if defined(CL65_TGT) && !defined(_WIN32)
AddSearchPath (TargetPaths, CL65_TGT);
#endif
AddSubSearchPathFromWinBin (TargetPaths, "target");
AddSubSearchPathFromBin (TargetPaths, "target");
TargetPath = GetSearchPath (TargetPaths, 0);
while (*TargetPath) {

View File

@ -274,7 +274,7 @@ static char* GetProgPath(char* pathbuf, char* a0)
#endif
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir)
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir)
{
/* Windows only:
** Add a search path from the running binary, adding a subdirectory to

View File

@ -75,9 +75,8 @@ void AddSubSearchPathFromEnv (SearchPaths* P, const char* EnvVar, const char* Su
** the environment variable value.
*/
void AddSubSearchPathFromWinBin (SearchPaths* P, const char* SubDir);
/* Windows only:
** Add a search path from the running binary, adding a subdirectory to
void AddSubSearchPathFromBin (SearchPaths* P, const char* SubDir);
/* Add a search path from the running binary, adding a subdirectory to
** the parent directory of the directory containing the binary.
*/

View File

@ -99,7 +99,7 @@ void InitSearchPaths (void)
#endif
/* Add paths relative to the parent directory of the Windows binary. */
AddSubSearchPathFromWinBin (LibDefaultPath, "lib");
AddSubSearchPathFromWinBin (ObjDefaultPath, "lib");
AddSubSearchPathFromWinBin (CfgDefaultPath, "cfg");
AddSubSearchPathFromBin (LibDefaultPath, "lib");
AddSubSearchPathFromBin (ObjDefaultPath, "lib");
AddSubSearchPathFromBin (CfgDefaultPath, "cfg");
}