From: Pedro Alves Date: Thu, 22 Jun 2017 09:57:13 +0000 (+0100) Subject: common/agent.h: Add missing include guards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b45a120833d862aeeba6803b2cc131724ef89dda;p=binutils-gdb.git common/agent.h: Add missing include guards gdb/ChangeLog: 2017-06-22 Pedro Alves * common/agent.h: Add include guards. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3774d17ae3b..5e860b4d962 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-06-22 Pedro Alves + + * common/agent.h: Add include guards. + 2017-06-21 Simon Marchi * target.h (struct target_ops) : Update doc to diff --git a/gdb/common/agent.h b/gdb/common/agent.h index 171c5914ede..66f57ad4b08 100644 --- a/gdb/common/agent.h +++ b/gdb/common/agent.h @@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ +#ifndef COMMON_AGENT_H +#define COMMON_AGENT_H + int agent_run_command (int pid, const char *cmd, int len); int agent_look_up_symbols (void *); @@ -56,3 +59,5 @@ enum agent_capa int agent_capability_check (enum agent_capa); void agent_capability_invalidate (void); + +#endif /* COMMON_AGENT_H */