public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] common/agent.h: Add missing include guards
@ 2017-06-22  9:59 Pedro Alves
  0 siblings, 0 replies; only message in thread
From: Pedro Alves @ 2017-06-22  9:59 UTC (permalink / raw)
  To: gdb-patches

gdb/ChangeLog:
2017-06-22  Pedro Alves  <palves@redhat.com>

	* common/agent.h: Add include guards.
---
 gdb/ChangeLog      | 4 ++++
 gdb/common/agent.h | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3774d17a..5e860b4 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/common/agent.h b/gdb/common/agent.h
index 171c591..66f57ad 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 <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 */
-- 
2.5.5

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-22  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-22  9:59 [pushed] common/agent.h: Add missing include guards Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).