Skip to contentSkip to conversation

app/test: fix include of standard header

PATCH Applied Bruce Richardson 3 participants 3 messages Jul 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/test: fix include of standard header

Standard headers, or headers not in the current directory generally, should be wrapped in "<>" rather than in regular quotes "". Fix one instance of unistd.h being included using quotes

Fixes df468c4937bb ("app/test: refactor bonding checks with macros")
---
 app/test/test_link_bonding.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_link_bonding.c +1 -1
index 5c496352c2..2f46e4c6ee 100644
@@ -2,7 +2,7 @@
  * Copyright(c) 2010-2014 Intel Corporation
  */
 
-#include "unistd.h"
+#include <unistd.h>
 #include <string.h>
 #include <stdarg.h>
 #include <stdio.h>
Signature · 1 line
2.39.2
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines

From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 21 July 2023 12.57

Standard headers, or headers not in the current directory generally, should be wrapped in "<>" rather than in regular quotes "". Fix one instance of unistd.h being included using quotes

Quoted 5 lines
Fixes df468c4937bb ("app/test: refactor bonding checks with macros")

---

Acked-by Applied
#2 lore raw
Quoted 7 lines · Morten Brørup
Quoted 7 lines

From: Bruce Richardson [mailto:[email protected]]
Sent: Friday, 21 July 2023 12.57

Standard headers, or headers not in the current directory generally, should be wrapped in "<>" rather than in regular quotes "". Fix one instance of unistd.h being included using quotes

Quoted 8 lines
Quoted 5 lines
Fixes df468c4937bb ("app/test: refactor bonding checks with macros")

---

Applied to dpdk-next-net/main, thanks.