summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/inc/libc_int.h
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-07-02 22:44:37 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-04 13:35:22 +0100
commitadc04c2d55dd20cc6a0622f1147c0b084cdc3099 (patch)
tree5444b9de7cd9c0bf36bbd9ef11e313e5d07b4e69 /usr/src/lib/libc/inc/libc_int.h
parent9419bc2fc61b54b25a4e45211d31fcb920ff67cc (diff)
downloadillumos-gate-adc04c2d55dd20cc6a0622f1147c0b084cdc3099.tar.gz
10159 libc: cast between incompatible function types
Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Diffstat (limited to 'usr/src/lib/libc/inc/libc_int.h')
-rw-r--r--usr/src/lib/libc/inc/libc_int.h2
1 files changed, 1 insertions, 1 deletions
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;