char* identifiers

This commit is contained in:
h_vogt 2010-12-13 22:15:19 +00:00
parent c5c551a70a
commit 53ba204cbb
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
2010-12-13 Holger Vogt
* util.c: char* identifiers to remove warnings in MS Visual Studio
2010-12-12 Robert Larice
* src/frontend/miscvars.c ,
* src/frontend/trannoise/1-f-code.c ,
@ -11,8 +14,8 @@
from its use in the VSRC device.
2010-12-12 Holger Vogt
* vsrcacct.c: Patch von R. Larice für sichere Breakpoints
bei TRNOISE
* vsrcacct.c: Patch von R. Larice for safe breakpoints
with TRNOISE
2010-12-11 Robert Larice
* src/include/bool.h :

View File

@ -154,7 +154,7 @@ char * absolute_pathname(char *string, char *dot_path)
char *
basename(const char *name)
{
const char *base;
char *base;
char *p;
static char *tmp = NULL;
int len;
@ -205,10 +205,10 @@ dirname(const char *name)
return(".");
if (!strcmp(name, "/"))
return(name);
return (char*) name;
if (!strcmp(name, "\\"))
return(name);
return (char*) name;
// find the last slash in the string
@ -233,7 +233,7 @@ dirname(const char *name)
else
return "";
return (const char *) ret;
return ret;
}
#else