mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-09-28 20:09:20 +00:00
const work
SCCS-file: scheck.c SCCS-SID: 8.9
This commit is contained in:
committed by
Paul Eggert
parent
e497d6ef0f
commit
a4a44dc22f
@@ -17,8 +17,8 @@ extern void ifree P((char * p));
|
||||
|
||||
char *
|
||||
scheck(string, format)
|
||||
const char * string;
|
||||
char * format;
|
||||
const char * const string;
|
||||
const char * const format;
|
||||
{
|
||||
register char * fbuf;
|
||||
register const char * fp;
|
||||
@@ -59,7 +59,7 @@ char * format;
|
||||
*tp++ = 'c';
|
||||
*tp = '\0';
|
||||
if (sscanf(string, fbuf, &dummy) != 1)
|
||||
result = format;
|
||||
result = (char *) format;
|
||||
ifree(fbuf);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user