forked from auracaster/openocd
Make #include guard naming consistent
Change-Id: Ie13e8af0bb74ed290f811dcad64ad06c9d8cb4fa Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/2956 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
committed by
Andreas Fritiofson
parent
d0e763ac7e
commit
d4b7cbff88
@@ -25,8 +25,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef GDB_SERVER_H
|
||||
#define GDB_SERVER_H
|
||||
#ifndef OPENOCD_SERVER_GDB_SERVER_H
|
||||
#define OPENOCD_SERVER_GDB_SERVER_H
|
||||
|
||||
struct image;
|
||||
struct reg;
|
||||
@@ -48,4 +48,4 @@ static inline struct target *get_target_from_connection(struct connection *conne
|
||||
#define ERROR_GDB_BUFFER_TOO_SMALL (-800)
|
||||
#define ERROR_GDB_TIMEOUT (-801)
|
||||
|
||||
#endif /* GDB_SERVER_H */
|
||||
#endif /* OPENOCD_SERVER_GDB_SERVER_H */
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef SERVER_H
|
||||
#define SERVER_H
|
||||
#ifndef OPENOCD_SERVER_SERVER_H
|
||||
#define OPENOCD_SERVER_SERVER_H
|
||||
|
||||
#include <helper/log.h>
|
||||
|
||||
@@ -109,4 +109,4 @@ COMMAND_HELPER(server_port_command, unsigned short *out);
|
||||
#define ERROR_SERVER_REMOTE_CLOSED (-400)
|
||||
#define ERROR_CONNECTION_REJECTED (-401)
|
||||
|
||||
#endif /* SERVER_H */
|
||||
#endif /* OPENOCD_SERVER_SERVER_H */
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _TCL_SERVER_H_
|
||||
#define _TCL_SERVER_H_
|
||||
#ifndef OPENOCD_SERVER_TCL_SERVER_H
|
||||
#define OPENOCD_SERVER_TCL_SERVER_H
|
||||
|
||||
#include <server/server.h>
|
||||
|
||||
int tcl_init(void);
|
||||
int tcl_register_commands(struct command_context *cmd_ctx);
|
||||
|
||||
#endif /* _TCL_SERVER_H_ */
|
||||
#endif /* OPENOCD_SERVER_TCL_SERVER_H */
|
||||
|
||||
@@ -22,8 +22,8 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef TELNET_SERVER_H
|
||||
#define TELNET_SERVER_H
|
||||
#ifndef OPENOCD_SERVER_TELNET_SERVER_H
|
||||
#define OPENOCD_SERVER_TELNET_SERVER_H
|
||||
|
||||
#include <server/server.h>
|
||||
|
||||
@@ -67,4 +67,4 @@ struct telnet_service {
|
||||
int telnet_init(char *banner);
|
||||
int telnet_register_commands(struct command_context *command_context);
|
||||
|
||||
#endif /* TELNET_SERVER_H */
|
||||
#endif /* OPENOCD_SERVER_TELNET_SERVER_H */
|
||||
|
||||
Reference in New Issue
Block a user