mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-25 01:01:20 +08:00
pexecute.c (pexecute): Cast string litrals to char *.
* pexecute.c (pexecute): Cast string litrals to char *. * regex.c (re_comp): Cast a call to gettext() to char *. From-SVN: r101911
This commit is contained in:
parent
12548280a2
commit
6c5844d2c6
libiberty
@ -1,3 +1,8 @@
|
||||
2005-07-12 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* pexecute.c (pexecute): Cast string litrals to char *.
|
||||
* regex.c (re_comp): Cast a call to gettext() to char *.
|
||||
|
||||
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
|
||||
|
||||
* config.table: Delete file. Move former contents into ...
|
||||
|
@ -47,7 +47,7 @@ pexecute (const char *program, char * const *argv, const char *pname,
|
||||
{
|
||||
if (pex != NULL)
|
||||
{
|
||||
*errmsg_fmt = "pexecute already in progress";
|
||||
*errmsg_fmt = (char *) "pexecute already in progress";
|
||||
*errmsg_arg = NULL;
|
||||
return -1;
|
||||
}
|
||||
@ -58,7 +58,7 @@ pexecute (const char *program, char * const *argv, const char *pname,
|
||||
{
|
||||
if (pex == NULL)
|
||||
{
|
||||
*errmsg_fmt = "pexecute not in progress";
|
||||
*errmsg_fmt = (char *) "pexecute not in progress";
|
||||
*errmsg_arg = NULL;
|
||||
return -1;
|
||||
}
|
||||
|
@ -7814,7 +7814,7 @@ re_comp (const char *s)
|
||||
if (!s)
|
||||
{
|
||||
if (!re_comp_buf.buffer)
|
||||
return gettext ("No previous regular expression");
|
||||
return (char *) gettext ("No previous regular expression");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user