diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-04-24 14:02:07 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-14 01:23:06 -0400 |
commit | 64654371d6324794d11131fc95c1bc4caaaf173d (patch) | |
tree | 95a743743948415e76aba391cecc4fa68746a943 /sim/common/callback.c | |
parent | 7fb6dc36bb515f39f332707b85f7e1cb5129eed8 (diff) | |
download | gdb-64654371d6324794d11131fc95c1bc4caaaf173d.zip gdb-64654371d6324794d11131fc95c1bc4caaaf173d.tar.gz gdb-64654371d6324794d11131fc95c1bc4caaaf173d.tar.bz2 |
sim: callback: inline PTR define
We require C11 now, so no need for these pre-ANSI C hacks.
PTR is simply void*, so use that directly.
Diffstat (limited to 'sim/common/callback.c')
-rw-r--r-- | sim/common/callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/callback.c b/sim/common/callback.c index 9e6d456..1b53823 100644 --- a/sim/common/callback.c +++ b/sim/common/callback.c @@ -946,7 +946,7 @@ cb_store_target_endian (host_callback *cb, char *p, int size, long val) or zero if an error occurred during the translation. */ int -cb_host_to_target_stat (host_callback *cb, const struct stat *hs, PTR ts) +cb_host_to_target_stat (host_callback *cb, const struct stat *hs, void *ts) { const char *m = cb->stat_map; char *p; |