diff options
author | John Birrell <jb@FreeBSD.org> | 2008-04-26 00:54:52 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 2008-04-26 00:54:52 +0000 |
commit | 275928fc142e604d7d091feb5eff54c72f241964 (patch) | |
tree | 8ca775b7063efa797f34e76afbae30ecb5cb3dc9 /lib/libctf/common/ctf_subr.c | |
parent | 2de84d2572206157cf33d1fb75463eeb42ae8e42 (diff) |
Diffstat (limited to 'lib/libctf/common/ctf_subr.c')
-rw-r--r-- | lib/libctf/common/ctf_subr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libctf/common/ctf_subr.c b/lib/libctf/common/ctf_subr.c index e9f5ad7a1f715..467b6a8181a85 100644 --- a/lib/libctf/common/ctf_subr.c +++ b/lib/libctf/common/ctf_subr.c @@ -27,6 +27,7 @@ #pragma ident "%Z%%M% %I% %E% SMI" #include <ctf_impl.h> +#include <libctf.h> #include <sys/mman.h> #include <stdarg.h> @@ -57,7 +58,7 @@ ctf_alloc(size_t size) /*ARGSUSED*/ void -ctf_free(void *buf, __unused size_t size) +ctf_free(void *buf, size_t size) { free(buf); } @@ -65,7 +66,7 @@ ctf_free(void *buf, __unused size_t size) const char * ctf_strerror(int err) { - return ((const char *) strerror(err)); + return (strerror(err)); } /*PRINTFLIKE1*/ |