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

am f639e96b: Undo idiotic build fix.

* commit 'f639e96b':
  Undo idiotic build fix.
parents b068d357 f639e96b
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@
#include "neverallow.h"
int debug;
int warn;
static int debug;
static int warn;
void neverallow_usage() {
fprintf(stderr, "\tneverallow [-w|--warn] [-d|--debug] [-n|--neverallows <neverallow-rules>] | [-f|--file <neverallow-file>]\n");
......
......@@ -264,10 +264,6 @@ static int analyze_types(policydb_t * policydb, char diff, char equiv)
return 0;
}
// defined in neverallow.c
extern int warn;
extern int debug;
int typecmp_func (int argc, char **argv, policydb_t *policydb) {
char ch, diff = 0, equiv = 0;
......@@ -286,10 +282,7 @@ int typecmp_func (int argc, char **argv, policydb_t *policydb) {
equiv = 1;
break;
case 'w':
warn = 1;
break;
case 'z':
debug = 1;
break;
default:
USAGE_ERROR = true;
......
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