mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
some variables that should have been static weren't
This commit is contained in:
parent
3476dfe9d7
commit
1ae369c9d2
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: masterdump.c,v 1.59 2001/09/05 10:28:53 marka Exp $ */
|
||||
/* $Id: masterdump.c,v 1.60 2001/10/23 01:49:32 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -795,7 +795,7 @@ dump_order_compare(const void *a, const void *b) {
|
||||
|
||||
#define MAXSORT 64
|
||||
|
||||
const char *trustnames[] = {
|
||||
static const char *trustnames[] = {
|
||||
"none",
|
||||
"pending",
|
||||
"additional",
|
||||
|
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: zone.c,v 1.349 2001/10/18 06:12:04 marka Exp $ */
|
||||
/* $Id: zone.c,v 1.350 2001/10/23 01:49:33 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -432,8 +432,8 @@ static void dump_done(void *arg, isc_result_t result);
|
||||
|
||||
#define ENTER zone_debuglog(zone, me, 1, "enter")
|
||||
|
||||
const unsigned int dbargc_default = 1;
|
||||
const char *dbargv_default[] = { "rbt" };
|
||||
static const unsigned int dbargc_default = 1;
|
||||
static const char *dbargv_default[] = { "rbt" };
|
||||
|
||||
/***
|
||||
*** Public functions.
|
||||
|
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: parser.c,v 1.82 2001/10/19 18:08:27 gson Exp $ */
|
||||
/* $Id: parser.c,v 1.83 2001/10/23 01:49:35 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -3812,7 +3812,7 @@ free_noop(cfg_parser_t *pctx, cfg_obj_t *obj) {
|
||||
/*
|
||||
* Data and functions for printing grammar summaries.
|
||||
*/
|
||||
struct flagtext {
|
||||
static struct flagtext {
|
||||
unsigned int flag;
|
||||
const char *text;
|
||||
} flagtexts[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user