diff options
author | Cyril Bur <cyrilbur@gmail.com> | 2018-02-09 15:38:38 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-02-16 16:22:02 +1100 |
commit | fb1390794c4e4ae677c1535936a126bb5130e746 (patch) | |
tree | eb7145f174f67eacae40b97fe02521c561e64e62 /src/main.h | |
parent | 856c44984dfd8fcb7a08e7b416cf7b457427974b (diff) | |
download | pdbg-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |