From adc04c2d55dd20cc6a0622f1147c0b084cdc3099 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 2 Jul 2018 22:44:37 +0300 Subject: 10159 libc: cast between incompatible function types Reviewed by: Gergő Mihály Doma Reviewed by: C Fraire Approved by: Hans Rosenfeld MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/lib/libc/inc/libc_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/lib/libc/inc/libc_int.h') diff --git a/usr/src/lib/libc/inc/libc_int.h b/usr/src/lib/libc/inc/libc_int.h index 940636b49c..0bc8a16fa0 100644 --- a/usr/src/lib/libc/inc/libc_int.h +++ b/usr/src/lib/libc/inc/libc_int.h @@ -74,7 +74,7 @@ extern "C" { typedef struct { int ci_tag; union { - int (*ci_func)(); + void *ci_func; long ci_val; char *ci_ptr; } ci_un; -- cgit v1.2.3