path.c: PaSubsWD() constify and no prototype exists
This function does not appear used across the codebase. No prototype exists in utils.h
This commit is contained in:
parent
c77d3852d5
commit
6bccbef0d4
|
|
@ -996,15 +996,17 @@ PaOpen(file, mode, ext, path, library, pRealName)
|
|||
|
||||
char *
|
||||
PaSubsWD(path, newWD)
|
||||
char *path; /* Path in which to substitute. */
|
||||
char *newWD; /* New working directory to be used. Must
|
||||
const char *path; /* Path in which to substitute. */
|
||||
const char *newWD; /* New working directory to be used. Must
|
||||
* end in a slash.
|
||||
*/
|
||||
|
||||
{
|
||||
#define NEWPATHSIZE 1000
|
||||
static char newPath[NEWPATHSIZE];
|
||||
char *pOld, *pNew, *pWD;
|
||||
const char *pOld;
|
||||
char *pNew;
|
||||
const char *pWD;
|
||||
int spaceLeft;
|
||||
|
||||
pOld = path;
|
||||
|
|
|
|||
Loading…
Reference in New Issue