Skip to content
Snippets Groups Projects
Commit 012dd734 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Fix build.

Introduced by the merge conflict resolution for
3a1eb33b.

Change-Id: Iddbc9e4d83c513d7003102f881793b5b7945566c
parent fe0d6cb8
No related branches found
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.
Finish editing this message first!
Please register or to comment