]> git.sur5r.net Git - openocd/commitdiff
change #include "command.h" to <helper/command.h>
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:14:25 +0000 (04:14 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 12:22:48 +0000 (04:22 -0800)
Changes from the flat namespace to heirarchical one.  Instead of writing:

#include "command.h"

the following form should be used.

#include <helper/command.h>

The exception is from .c files in the same directory.

src/helper/configuration.h
src/helper/log.h
src/jtag/drivers/driver.c
src/pld/pld.h
src/target/armv4_5.h
src/target/armv7a.c
src/xsvf/xsvf.h

index ce9159c3d709b4eed15adee37079baef64d3c77e..caa80eec59edcf07d8c70d616a4c4ba6295bfb66 100644 (file)
@@ -23,7 +23,7 @@
 #ifndef CONFIGURATION_H
 #define CONFIGURATION_H
 
-#include "command.h"
+#include <helper/command.h>
 
 int parse_cmdline_args(struct command_context *cmd_ctx,
                int argc, char *argv[]);
index f2d19d16b13531152a7a8983a4cc02880e962bb3..ebcb8a158ec27854e56a27eabf0297deb7fcd05c 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef ERROR_H
 #define ERROR_H
 
-#include "command.h"
+#include <helper/command.h>
 
 /* To achieve C99 printf compatibility in MinGW, gnu_printf should be
  * used for __attribute__((format( ... ))), with GCC v4.4 or later
index cadd88e8f400fc634cd3dbf24704be1c5306ddea..f6fb4b60676a1823b94383f6f4b0a2e8210b196b 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "interface.h"
 #include "minidriver.h"
-#include "command.h"
+#include <helper/command.h>
 
 struct jtag_callback_entry
 {
index 1ae775cc89f2b80fd9c1270dd34104aaff3a3530..cd92ff0a4d86119294368427105a9cf8fc0d0c72 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef PLD_H
 #define PLD_H
 
-#include "command.h"
+#include <helper/command.h>
 
 struct pld_device;
 
index 7229a6c0bdbeba1080a9cc3cd29eee3b49c80737..9b6237bce73de3cb6e9f272326161e7970c5959d 100644 (file)
@@ -27,7 +27,7 @@
 #define ARMV4_5_H
 
 #include "target.h"
-#include "command.h"
+#include <helper/command.h>
 
 
 typedef enum armv4_5_mode
index 1aa0d8ac79d191fb5693d61f42d59985d6452815..ae5ed087a0077a5991ff27771b45f7870a038d56 100644 (file)
@@ -27,7 +27,7 @@
 
 #include "register.h"
 #include <helper/binarybuffer.h>
-#include "command.h"
+#include <helper/command.h>
 
 #include <stdlib.h>
 #include <string.h>
index 2153a2dd3d4336c3a4808dbe0ec01b126aec282b..7ce3711337ec7d3f782a1a8f3edd9191b683f614 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef XSVF_H
 #define XSVF_H
 
-#include "command.h"
+#include <helper/command.h>
 
 int xsvf_register_commands(struct command_context *cmd_ctx);