projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0379779
)
Remove redundant semicolon
author
Nan Xiao
<nan@chinadtrace.org>
Mon, 31 Jul 2017 05:02:20 +0000
(13:02 +0800)
committer
Brenden Blanco
<bblanco@gmail.com>
Mon, 31 Jul 2017 23:14:52 +0000
(16:14 -0700)
src/cc/export/helpers.h
patch
|
blob
|
history
diff --git
a/src/cc/export/helpers.h
b/src/cc/export/helpers.h
index bbc393ab63e1678f5727061fbd836561ad7c4897..c9ad1439d708a389cf4d1e9832f60cbed079674c 100644
(file)
--- a/
src/cc/export/helpers.h
+++ b/
src/cc/export/helpers.h
@@
-57,7
+57,7
@@
__attribute__((section("maps/" _table_type))) \
struct _name##_table_t _name = { .flags = (_flags) }
#define BPF_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries) \
-BPF_F_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries, 0)
;
+BPF_F_TABLE(_table_type, _key_type, _leaf_type, _name, _max_entries, 0)
// define a table same as above but allow it to be referenced by other modules
#define BPF_TABLE_PUBLIC(_table_type, _key_type, _leaf_type, _name, _max_entries) \