Skip to contentSkip to conversation

tools include: Add missing stdarg.h include

PATCH Applied Ian Rogers 4 participants 4 messages Sep 17 – Sep 25

lore
Share & tools
lore

Ian Rogers

author
#0 lore raw

PATCH 1/1 tools include: Add missing stdarg.h include

Header file makes use of varargs but doesn't directly include stdarg.h.

---
 tools/include/tools/dis-asm-compat.h | 1 +
 1 file changed, 1 insertion(+)
tools/include/tools/dis-asm-compat.h +1 -0
index 70f331e23ed3..1e0586d8451b 100644
@@ -2,6 +2,7 @@
 #ifndef _TOOLS_DIS_ASM_COMPAT_H
 #define _TOOLS_DIS_ASM_COMPAT_H
 
+#include <stdarg.h>
 #include <stdio.h>
 #include <dis-asm.h>
 
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog
#1 lore raw
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 5 lines

Header file makes use of varargs but doesn't directly include stdarg.h.

Sashiko has reviewed this patch and found no issues. It looks great!

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Acked-by on v1 1/1
#2 lore raw
In reply to Ian Rogers
Quoted 5 lines · Ian Rogers

Header file makes use of varargs but doesn't directly include stdarg.h.

Thanks,
Namhyung

Quoted 19 lines
---
 tools/include/tools/dis-asm-compat.h | 1 +
 1 file changed, 1 insertion(+)
tools/include/tools/dis-asm-compat.h +1 -0
index 70f331e23ed3..1e0586d8451b 100644
@@ -2,6 +2,7 @@
 #ifndef _TOOLS_DIS_ASM_COMPAT_H
 #define _TOOLS_DIS_ASM_COMPAT_H
 
+#include <stdarg.h>
 #include <stdio.h>
 #include <dis-asm.h>
 
Signature · 1 line
2.55.0.1082.g2b9226bbc0-goog