Skip to content
Commit 505aeca8 authored by Richard Leitner's avatar Richard Leitner Committed by Ross Burton
Browse files

psplash: fix remaining unused-parameter warnings



Define UNUSED macro for GCC's ((__unused__)) attribute and use it for
the remaining unused-parameter warnings. These unused parameters are
required due to the definition of the sighandler_t.

This fixes following unused-parameter warnings:

psplash.c: In function 'psplash_exit':
psplash.c:36:19: warning: unused parameter 'signum' [-Wunused-parameter]

psplash-console.c: In function 'vt_request':
psplash-console.c:27:17: warning: unused parameter 'sig'
[-Wunused-parameter]

Signed-off-by: default avatarRichard Leitner <richard.leitner@skidata.com>
Signed-off-by: default avatarRoss Burton <ross.burton@intel.com>
parent e3e0ab48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment