|
Backport patch to fix the following error:
../libburn-1.5.6/test/poll.c: In function 'main':
../libburn-1.5.6/test/poll.c:67:27: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
67 | newact.sa_handler = catch_int;
| ^
../libburn-1.5.6/test/poll.c:17:13: note: 'catch_int' declared here
17 | static void catch_int ()
| ^~~~~~~~~
In file included from ../libburn-1.5.6/test/poll.c:9:
/home/worker/nano-ai/build-nano-ai/BUILD/work/qcs8550_aihub-webos-linux/libburn/1.5.6/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
make: *** [Makefile:1024: test/poll-poll.o] Error 1
Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|