only declare child_post_attach if CHILD_POST_ATTACH is defined.
authorDavid Taylor <taylor@redhat.com>
Tue, 19 Jan 1999 15:29:06 +0000 (15:29 +0000)
committerDavid Taylor <taylor@redhat.com>
Tue, 19 Jan 1999 15:29:06 +0000 (15:29 +0000)
gdb/ChangeLog
gdb/target.h

index ddf907b..b6b9ab9 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jan 19 10:27:23 1999  David Taylor  <taylor@texas.cygnus.com>
+
+       * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
+       is define.
+
 Tue Jan 19 18:07:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * corelow.c (solib_add_stub): Ditto.
index 7f6a2c5..f44d3e4 100644 (file)
@@ -559,8 +559,10 @@ child_pid_to_exec_file PARAMS ((int));
 extern char *
 child_core_file_to_sym_file PARAMS ((char *));
 
+#if defined(CHILD_POST_ATTACH)
 extern void
 child_post_attach PARAMS ((int));
+#endif
 
 extern void
 child_post_wait PARAMS ((int, int));