gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / linux-fork.h
index b1e3ba3e4a442ba975d13d7827c171981cf131a0..2358af3f60cdb0b78e51b2111835004051c6079d 100644 (file)
@@ -1,6 +1,6 @@
 /* GNU/Linux native-dependent code for debugging multiple forks.
 
-   Copyright (C) 2005-2018 Free Software Foundation, Inc.
+   Copyright (C) 2005-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    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 LINUX_FORK_H
+#define LINUX_FORK_H
+
 struct fork_info;
-extern struct fork_info *add_fork (pid_t);
+extern void add_fork (pid_t);
 extern struct fork_info *find_fork_pid (pid_t);
 extern void linux_fork_killall (void);
 extern void linux_fork_mourn_inferior (void);
 extern void linux_fork_detach (int);
 extern int forks_exist_p (void);
 extern int linux_fork_checkpointing_p (int);
+
+#endif /* LINUX_FORK_H */
This page took 0.024584 seconds and 4 git commands to generate.