diff options
-rw-r--r-- | libmisc/walk_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libmisc/walk_tree.c b/libmisc/walk_tree.c index a93a662..d753dc7 100644 --- a/libmisc/walk_tree.c +++ b/libmisc/walk_tree.c @@ -37,13 +37,13 @@ struct entry_handle { long pos; }; -struct entry_handle head = { +static struct entry_handle head = { .next = &head, .prev = &head, /* The other fields are unused. */ }; -struct entry_handle *closed = &head; -unsigned int num_dir_handles; +static struct entry_handle *closed = &head; +static unsigned int num_dir_handles; static int walk_tree_visited(dev_t dev, ino_t ino) { |