common/agent.h: Add missing include guards
authorPedro Alves <palves@redhat.com>
Thu, 22 Jun 2017 09:57:13 +0000 (10:57 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 22 Jun 2017 09:57:13 +0000 (10:57 +0100)
gdb/ChangeLog:
2017-06-22  Pedro Alves  <palves@redhat.com>

* common/agent.h: Add include guards.

gdb/ChangeLog
gdb/common/agent.h

index 3774d17ae3b0ecba0f9ec94b25ed7682efa245f6..5e860b4d962132d2ab7e139fac03dbc7dfcf0434 100644 (file)
@@ -1,3 +1,7 @@
+2017-06-22  Pedro Alves  <palves@redhat.com>
+
+       * common/agent.h: Add include guards.
+
 2017-06-21  Simon Marchi  <simon.marchi@ericsson.com>
 
        * target.h (struct target_ops) <to_xfer_partial>: Update doc to
index 171c5914ede12d8d5dc840f5fdd979792df101eb..66f57ad4b0855ce4a97eaa7b126a02b63b5426f9 100644 (file)
@@ -17,6 +17,9 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#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 */