[v3,3/4] efd: add define guards to avoid multi-inclusion
Checks
Commit Message
Supplement define guards to prevent multiple inclusion.
Signed-off-by: Weiguo Li <liwg06@foxmail.com>
---
lib/efd/rte_efd_x86.h | 5 +++++
1 file changed, 5 insertions(+)
@@ -2,6 +2,9 @@
* Copyright(c) 2016-2017 Intel Corporation
*/
+#ifndef RTE_EFD_X86_H
+#define RTE_EFD_X86_H
+
/* rte_efd_x86.h
* This file holds all x86 specific EFD functions
*/
@@ -55,3 +58,5 @@ efd_lookup_internal_avx2(const efd_hashfunc_t *group_hash_idx,
#endif
}
+
+#endif /* RTE_EFD_X86_H */