openocd: include config.h in every file .c 56/6856/3
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 24 Feb 2022 10:39:15 +0000 (11:39 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 26 Mar 2022 13:32:57 +0000 (13:32 +0000)
Including config.h as first is required for every C file.
Add it to the C files that still miss it.

Change-Id: I1a210e7d3a854958a85a290b086ad8a9f5176425
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6856
Tested-by: jenkins
src/helper/jim-nvp.c
src/rtos/chromium-ec.c
src/rtt/rtt.c
src/rtt/tcl.c
src/server/rtt_server.c
src/target/rtt.c

index 738ed7943ef82163509d6b7f609833625bb2fbe0..0409a83cdfb1a72feaa0f84b48ed244d656a0373 100644 (file)
  * official policies, either expressed or implied, of the Jim Tcl Project.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "jim-nvp.h"
 #include <string.h>
 
index 1c8f4e3f4c4787f9363185b37c754ec5a691e62b..2f1a0cf3cc6420ad820a12e8d98700ec77f4c8d0 100644 (file)
@@ -7,6 +7,10 @@
  * Chromium-EC RTOS Task Awareness
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <rtos/rtos.h>
 #include <target/target.h>
 #include <target/target_type.h>
index bf3cca51b20ba43df19dabcf0e6752a5d1a7d87d..3da3cce8161afdbd5e87d5126b327396833e8716 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdint.h>
 #include <stdbool.h>
 #include <string.h>
index f5abf2e5eaa304ae9e94c6dfb195811e133628a1..4a34d8b981b1780d82484f98f904149516bf2660 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <helper/log.h>
 #include <target/rtt.h>
 
index c7141c0e07f5db670db5dad0fd4b33badf87b5e5..3850c26876484757bb91ba329a4ea9b064a02464 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdint.h>
 #include <rtt/rtt.h>
 
index 7e556e1cbd7f49bec1eb2b88f5f8902d150f173e..41830213d73299e37a7fea8aba510e4934d87acb 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stddef.h>
 #include <stdint.h>
 #include <helper/log.h>

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)