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 /tools/ctf/common | |
parent | 2de84d2572206157cf33d1fb75463eeb42ae8e42 (diff) |
Diffstat (limited to 'tools/ctf/common')
-rw-r--r-- | tools/ctf/common/list.c | 4 | ||||
-rw-r--r-- | tools/ctf/common/memory.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tools/ctf/common/list.c b/tools/ctf/common/list.c index 4958f270a9943..c01de9b9241d4 100644 --- a/tools/ctf/common/list.c +++ b/tools/ctf/common/list.c @@ -70,7 +70,7 @@ slist_add(list_t **list, void *data, int (*cmp)(void *, void *)) /*ARGSUSED2*/ static int -list_defcmp(void *d1, void *d2, void *private __unused) +list_defcmp(void *d1, void *d2, void *private) { return (d1 != d2); } @@ -135,7 +135,7 @@ list_iter(list_t *list, int (*func)(void *, void *), void *private) /*ARGSUSED*/ static int -list_count_cb(void *data __unused, void *private __unused) +list_count_cb(void *data, void *private) { return (1); } diff --git a/tools/ctf/common/memory.c b/tools/ctf/common/memory.c index e16044a8b6725..390ff128e4332 100644 --- a/tools/ctf/common/memory.c +++ b/tools/ctf/common/memory.c @@ -35,7 +35,6 @@ #include <stdlib.h> #include <string.h> #include <strings.h> -#include "memory.h" static void memory_bailout(void) |