summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorCyril Bur <cyrilbur@gmail.com>2018-02-09 15:38:38 +1100
committerAlistair Popple <alistair@popple.id.au>2018-02-16 16:22:02 +1100
commitfb1390794c4e4ae677c1535936a126bb5130e746 (patch)
treeeb7145f174f67eacae40b97fe02521c561e64e62 /src/main.h
parent856c44984dfd8fcb7a08e7b416cf7b457427974b (diff)
downloadpdbg-fb1390794c4e4ae677c1535936a126bb5130e746.tar.gz
pdbg-fb1390794c4e4ae677c1535936a126bb5130e746.zip
main: Pull thread control accessors out of main.c
Signed-off-by: Cyril Bur <cyrilbur@gmail.com> Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index bfa8c37..ef22ba8 100644
--- a/src/main.h
+++ b/src/main.h
@@ -18,6 +18,6 @@
#include <target.h>
/* Returns the sum of return codes. This can be used to count how many targets the callback was run on. */
-int for_each_child_target(char *class, struct target *parent,
- int (*cb)(struct target *, uint32_t, uint64_t *, uint64_t *),
+int for_each_child_target(char *class, struct pdbg_target *parent,
+ int (*cb)(struct pdbg_target *, uint32_t, uint64_t *, uint64_t *),
uint64_t *arg1, uint64_t *arg2);
OpenPOWER on IntegriCloud