Skip to content
Snippets Groups Projects
Commit b068d357 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 012dd734: Fix build.

* commit '012dd734':
  Fix build.
parents 27ca061e 012dd734
Branches
No related tags found
No related merge requests found
...@@ -10,8 +10,8 @@ ...@@ -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) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment