aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/tools/ctf/cvt/util.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2013-04-19 19:38:39 +0000
committerEd Schouten <ed@FreeBSD.org>2013-04-19 19:38:39 +0000
commitc0794a841df1a3ea4cad6cba1710f910d4360106 (patch)
tree45ae0213431c2e386bc15168e2e44575179c9bbc /cddl/contrib/opensolaris/tools/ctf/cvt/util.c
parent7b796c403982c93a4caaf98cf665a88e4ac84c11 (diff)
downloadsrc-c0794a841df1a3ea4cad6cba1710f910d4360106.tar.gz
src-c0794a841df1a3ea4cad6cba1710f910d4360106.zip
Fix -Wmissing-variable-declarations compiler warnings.
Notes
Notes: svn path=/head/; revision=249656
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/cvt/util.c')
-rw-r--r--cddl/contrib/opensolaris/tools/ctf/cvt/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c
index 0f36fa02decf..82dfe63ad579 100644
--- a/cddl/contrib/opensolaris/tools/ctf/cvt/util.c
+++ b/cddl/contrib/opensolaris/tools/ctf/cvt/util.c
@@ -249,8 +249,8 @@ tdesc_name(tdesc_t *tdp)
return (tdp->t_name == NULL ? "(anon)" : tdp->t_name);
}
-char *watch_address = NULL;
-int watch_length = 0;
+static char *watch_address = NULL;
+static int watch_length = 0;
void
watch_set(void *addr, int len)