aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-05-07 08:35:54 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-05-07 08:35:54 +0000
commit010f3b2f35ef972172eaac6cd35b138c1c94706a (patch)
tree368c279344b04286a7192493657e8e417b4bd39f /gdb
parentcb9a9d3ed2f4008054fa2f6dd8454741a5342401 (diff)
downloadgdb-010f3b2f35ef972172eaac6cd35b138c1c94706a.zip
gdb-010f3b2f35ef972172eaac6cd35b138c1c94706a.tar.gz
gdb-010f3b2f35ef972172eaac6cd35b138c1c94706a.tar.bz2
* solib.h: Protect against multiple inclusion.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/solib.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 93a2353..9b583d3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-07 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * solib.h: Protect against multiple inclusion.
+
2002-05-06 Jim Blandy <jimb@redhat.com>
Separate the job of reading the line number info statement program
diff --git a/gdb/solib.h b/gdb/solib.h
index 76f287b..04be72d 100644
--- a/gdb/solib.h
+++ b/gdb/solib.h
@@ -19,6 +19,9 @@
Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef SOLIB_H
+#define SOLIB_H
+
/* Forward decl's for prototypes */
struct target_ops;
@@ -197,3 +200,5 @@ extern int in_solib_dynsym_resolve_code (CORE_ADDR); /* solib.c */
/* Discard symbols that were auto-loaded from shared libraries. */
extern void no_shared_libraries (char *ignored, int from_tty);
+
+#endif /* SOLIB_H */