diff options
author | Amitay Isaacs <amitay@ozlabs.org> | 2018-05-24 15:50:09 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-05-24 21:19:34 +1000 |
commit | 517e99b38ce2ad70ef90b6c5974c97522d1a42ef (patch) | |
tree | 6b08542b01c73e814fec65b3e0638fa885b86663 /src/reg.c | |
parent | 55d2081b94b380dd315b97f7167da7e65af887d5 (diff) | |
download | pdbg-517e99b38ce2ad70ef90b6c5974c97522d1a42ef.tar.gz pdbg-517e99b38ce2ad70ef90b6c5974c97522d1a42ef.zip |
main: Do not include libpdbg internal headers
There are few execptions:
- src/thread.c, src/htm.c
These require bitutils.h. The correct fix might be to include thread
abstraction in libpdbg.
- src/main.c
This requires target.h.
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
Diffstat (limited to 'src/reg.c')
-rw-r--r-- | src/reg.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -19,8 +19,7 @@ #include <stdlib.h> #include <string.h> -#include <target.h> -#include <operations.h> +#include <libpdbg.h> #include "main.h" |