Commit e4988b37 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

Fixed some invalid conversions from 'const char *' to 'char *'

parent 364bbeb1
......@@ -635,7 +635,7 @@ void sperror(char *msg)
static int sstrerror_key = -1;
char *sstrerror(const int n) {
const char *sstrerror(const int n) {
void *buf = NULL;
int buflen = 80;
......@@ -512,7 +512,7 @@ EXTERN_C int sstrerror_r (const int n, char *const buf, const size_t buflen);
* @param n The numeric error code.
* @return The string representation.
EXTERN_C char *sstrerror (const int n);
EXTERN_C const char *sstrerror (const int n);
EXTERN_C void sperror (char *);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment