diff options
author | ed <ed@FreeBSD.org> | 2013-04-19 19:38:39 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2013-04-19 19:38:39 +0000 |
commit | e342f91158ed3a8e688d9b01fd14d57ad91ea8b0 (patch) | |
tree | 45ae0213431c2e386bc15168e2e44575179c9bbc /cddl/contrib/opensolaris/tools/ctf/cvt/util.c | |
parent | d39e4f5f3a3f1171d47a82eadb97cccbdfcdd12e (diff) | |
download | FreeBSD-src-e342f91158ed3a8e688d9b01fd14d57ad91ea8b0.zip FreeBSD-src-e342f91158ed3a8e688d9b01fd14d57ad91ea8b0.tar.gz |
Fix -Wmissing-variable-declarations compiler warnings.
References:
https://www.illumos.org/issues/3700
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/cvt/util.c')
-rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/util.c | 4 |
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 0f36fa0..82dfe63 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) |