This is an automated email from Gerrit.

"Jan Matyas <jan.mat...@codasip.com>" just uploaded a new patch set to Gerrit, 
which you can find at https://review.openocd.org/c/openocd/+/8530

-- gerrit

commit 36557cd1ebf0312b3da0e98a3551148b859b11b6
Author: Jan Matyas <jan.mat...@codasip.com>
Date:   Mon Oct 28 15:16:28 2024 +0100

    jtag/commands: Add missing includes
    
    File jtag/commands.h uses datatypes from stdint.h (uint*_t)
    and jtag/jtag.h (tap_state_t) but the includes were missing.
    Add them.
    
    The issue was discovered while experimenting with automated
    tools for cleanup of includes [1] [2].
    
    [1] https://clang.llvm.org/docs/ClangFormatStyleOptions.html#sortincludes
    [2] https://clang.llvm.org/extra/clang-tidy/checks/misc
        /include-cleaner.html
    
    Change-Id: I32cc0a03b1355c472c2f7a98c28bc31a5e94d7db
    Signed-off-by: Jan Matyas <jan.mat...@codasip.com>

diff --git a/src/jtag/commands.h b/src/jtag/commands.h
index 29fa8426ee..fd9988cf65 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -14,6 +14,9 @@
 #ifndef OPENOCD_JTAG_COMMANDS_H
 #define OPENOCD_JTAG_COMMANDS_H
 
+#include <jtag/jtag.h>
+#include <stdint.h>
+
 /**
  * The inferred type of a scan_command structure, indicating whether
  * the command has the host scan in from the device, the host scan out

-- 

Reply via email to