diff options
author | Toomas Soome <tsoome@me.com> | 2018-07-02 22:44:37 +0300 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2019-01-04 13:35:22 +0100 |
commit | adc04c2d55dd20cc6a0622f1147c0b084cdc3099 (patch) | |
tree | 5444b9de7cd9c0bf36bbd9ef11e313e5d07b4e69 /usr/src/lib/libc/inc/libc_int.h | |
parent | 9419bc2fc61b54b25a4e45211d31fcb920ff67cc (diff) | |
download | illumos-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.h | 2 |
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; |