char* identifiers
This commit is contained in:
parent
c5c551a70a
commit
53ba204cbb
|
|
@ -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 :
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue