Fix build.
Introduced by the merge conflict resolution for
3a1eb33be6
.
Change-Id: Iddbc9e4d83c513d7003102f881793b5b7945566c
This commit is contained in:
parent
fe0d6cb8f7
commit
012dd73460
2 changed files with 6 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
||||||
|
|
||||||
#include "neverallow.h"
|
#include "neverallow.h"
|
||||||
|
|
||||||
static int debug;
|
int debug;
|
||||||
static int warn;
|
int warn;
|
||||||
|
|
||||||
void neverallow_usage() {
|
void neverallow_usage() {
|
||||||
fprintf(stderr, "\tneverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]\n");
|
fprintf(stderr, "\tneverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]\n");
|
||||||
|
|
|
@ -264,6 +264,10 @@ static int analyze_types(policydb_t * policydb, char diff, char equiv)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// defined in neverallow.c
|
||||||
|
extern int warn;
|
||||||
|
extern int debug;
|
||||||
|
|
||||||
int typecmp_func (int argc, char **argv, policydb_t *policydb) {
|
int typecmp_func (int argc, char **argv, policydb_t *policydb) {
|
||||||
char ch, diff = 0, equiv = 0;
|
char ch, diff = 0, equiv = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue