From f59d435d16261b04f97e293ab075e79624caf11d Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 12 Apr 2018 17:46:49 +1000 Subject: libdl: Remove _t from all structures as this is reserved for the standards --- cpukit/libdl/dlfcn-shell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cpukit/libdl/dlfcn-shell.c') diff --git a/cpukit/libdl/dlfcn-shell.c b/cpukit/libdl/dlfcn-shell.c index 3746711ef1..539774d6dd 100644 --- a/cpukit/libdl/dlfcn-shell.c +++ b/cpukit/libdl/dlfcn-shell.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 2012 Chris Johns + * COPYRIGHT (c) 2012, 2018 Chris Johns * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at @@ -98,7 +98,7 @@ shell_dlsym (int argc, char* argv[]) return -1; } -typedef int (*call_t)(int argc, char* argv[]); +typedef int (*call_p)(int argc, char* argv[]); int shell_dlcall (int argc, char* argv[]) @@ -106,7 +106,7 @@ shell_dlcall (int argc, char* argv[]) void* value; if (lookup_dlsym (&value, argc, argv)) { - call_t call = value; + call_p call = value; int r; printf ("(*%p)(%d, ....)\n", value, argc - 3); r = call (argc - 3, argv + 3); -- cgit v1.2.3