Make this compile cleanly.
This commit is contained in:
parent
df5c121dfe
commit
c839260786
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178554
@ -27,7 +27,6 @@
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
#include <ctf_impl.h>
|
||||
#include <libctf.h>
|
||||
#include <sys/mman.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@ -58,7 +57,7 @@ ctf_alloc(size_t size)
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
ctf_free(void *buf, size_t size)
|
||||
ctf_free(void *buf, __unused size_t size)
|
||||
{
|
||||
free(buf);
|
||||
}
|
||||
@ -66,7 +65,7 @@ ctf_free(void *buf, size_t size)
|
||||
const char *
|
||||
ctf_strerror(int err)
|
||||
{
|
||||
return (strerror(err));
|
||||
return ((const char *) strerror(err));
|
||||
}
|
||||
|
||||
/*PRINTFLIKE1*/
|
||||
|
Loading…
Reference in New Issue
Block a user