diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-20 17:55:39 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-12-20 17:55:39 -0800 |
commit | 6ec57ead120a3d42afcb76da012109dd713f12d9 (patch) | |
tree | 0f2413d3f9b5888fcff42220b20c4f03a6ec2558 /get_load.c | |
parent | a53164911c182e73a03eb2eceaa5dfa81f4f98c3 (diff) |
Mark string arguments to xload_error as const char * for gcc -Wwrite-strings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'get_load.c')
-rw-r--r-- | get_load.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -201,7 +201,7 @@ void GetLoadPoint( extern long lseek(); #endif -void xload_error(char *, char *); +static void xload_error(const char *, const char *); #if defined(SYSV) && defined(i386) @@ -1014,7 +1014,7 @@ void GetLoadPoint( w, closure, call_data ) #endif /* KVM_ROUTINES else */ #endif /* SYSV && i386 else */ -void xload_error(char *str1, char *str2) +static void xload_error(const char *str1, const char *str2) { (void) fprintf(stderr,"xload: %s %s\n", str1, str2); #ifdef __bsdi__ |