Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
This commit is contained in:
@@ -80,7 +80,7 @@ static uint8_t *hash_file(const char *filename, uint8_t hash_algo)
|
||||
}
|
||||
|
||||
/* This could become a common function for md5 as well, by using md5_stream */
|
||||
extern int hash_files(int argc, char **argv, const uint8_t hash_algo)
|
||||
static int hash_files(int argc, char **argv, const uint8_t hash_algo)
|
||||
{
|
||||
int return_value = EXIT_SUCCESS;
|
||||
uint8_t *hash_value;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <unistd.h>
|
||||
#include "busybox.h"
|
||||
|
||||
int global_flags;
|
||||
static int global_flags;
|
||||
|
||||
/*
|
||||
sort [-m][-o output][-bdfinru][-t char][-k keydef]... [file...]
|
||||
@@ -57,9 +57,9 @@ int global_flags;
|
||||
|
||||
|
||||
#ifdef CONFIG_SORT_BIG
|
||||
char key_separator;
|
||||
static char key_separator;
|
||||
|
||||
struct sort_key
|
||||
static struct sort_key
|
||||
{
|
||||
struct sort_key *next_key; /* linked list */
|
||||
unsigned short range[4]; /* start word, start char, end word, end char */
|
||||
|
||||
Reference in New Issue
Block a user