aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-08-11 05:24:19 +0100
committerSean Young <sean@mess.org>2019-08-11 05:24:19 +0100
commitd0510b308625975808dd396bfc1813d1b9ef583b (patch)
tree7512276a1f6c35b922a8b54972a91f013566a4c2
parentedea79a653acfc9aab6331296abd850a5a6873b0 (diff)
keytable: fix build on ubuntu
Signed-off-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/bpf_load.h7
-rw-r--r--utils/keytable/bpf_protocols/bitmap.h2
2 files changed, 0 insertions, 9 deletions
diff --git a/utils/keytable/bpf_load.h b/utils/keytable/bpf_load.h
index 471600bb..4ec0a934 100644
--- a/utils/keytable/bpf_load.h
+++ b/utils/keytable/bpf_load.h
@@ -24,13 +24,6 @@ struct bpf_map_data {
struct bpf_load_map_def def;
};
-struct raw_entry {
- struct raw_entry *next;
- u_int32_t scancode;
- u_int32_t raw_length;
- u_int32_t raw[1];
-};
-
/* parses elf file compiled by llvm .c->.o
* . parses 'maps' section and creates maps via BPF syscall
* . parses 'license' section and passes it to syscall
diff --git a/utils/keytable/bpf_protocols/bitmap.h b/utils/keytable/bpf_protocols/bitmap.h
index e3d731ad..11a6dc72 100644
--- a/utils/keytable/bpf_protocols/bitmap.h
+++ b/utils/keytable/bpf_protocols/bitmap.h
@@ -2,8 +2,6 @@
#ifndef __BITMAP_H__
#define __BITMAP_H__
-#include "string.h"
-
#define BITS_PER_LONG 64
#define BITS_TO_LONG(n) \
(((n) + BITS_PER_LONG - 1) / BITS_PER_LONG)

Privacy Policy