Fix typo in type of srcpos_verror() et al.

The srcpos_verror() and srcpos_error() functions declare the format
string as 'char const *' instead of 'const char *'.  Fix it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
David Gibson 2014-01-01 23:16:39 +11:00
parent 6efd9065e6
commit a1e6da8aed
2 changed files with 4 additions and 4 deletions

View file

@ -291,7 +291,7 @@ srcpos_string(struct srcpos *pos)
}
void
srcpos_verror(struct srcpos *pos, char const *fmt, va_list va)
srcpos_verror(struct srcpos *pos, const char *fmt, va_list va)
{
const char *srcstr;
@ -303,7 +303,7 @@ srcpos_verror(struct srcpos *pos, char const *fmt, va_list va)
}
void
srcpos_error(struct srcpos *pos, char const *fmt, ...)
srcpos_error(struct srcpos *pos, const char *fmt, ...)
{
va_list va;