- constify
git-svn-id: http://moon:8086/svn/mips@31 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
+2
-3
@@ -1034,10 +1034,9 @@ int unlink(char *name)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sputs(char *pStr)
|
int sputs(char const *pStr)
|
||||||
{
|
{
|
||||||
char *start;
|
char const *start = pStr;
|
||||||
start = pStr;
|
|
||||||
|
|
||||||
while(*pStr)
|
while(*pStr)
|
||||||
_putchar(GetPort(1), *(pStr++));
|
_putchar(GetPort(1), *(pStr++));
|
||||||
|
|||||||
+1
-1
@@ -380,7 +380,7 @@ void DCACHE_invalidate_at(UINT32* pPtr);
|
|||||||
char readchar(UINT32 port);
|
char readchar(UINT32 port);
|
||||||
void writechar(UINT32 port, char c);
|
void writechar(UINT32 port, char c);
|
||||||
int write(int file, char *ptr, int len);
|
int write(int file, char *ptr, int len);
|
||||||
int sputs(char *pStr);
|
int sputs(char const *pStr);
|
||||||
void print_byte(char byte);
|
void print_byte(char byte);
|
||||||
void print_word(int word);
|
void print_word(int word);
|
||||||
void _exit (int exitcode);
|
void _exit (int exitcode);
|
||||||
|
|||||||
Reference in New Issue
Block a user