#ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning.
This commit is contained in:
parent
d348b4d2a5
commit
de3f888991
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52097
@ -871,7 +871,9 @@ pps_ioctl(u_long cmd, caddr_t data, struct pps_state *pps)
|
||||
{
|
||||
pps_params_t *app;
|
||||
struct pps_fetch_args *fapi;
|
||||
#ifdef PPS_SYNC
|
||||
struct pps_kcbind_args *kapi;
|
||||
#endif
|
||||
|
||||
switch (cmd) {
|
||||
case PPS_IOC_CREATE:
|
||||
|
@ -871,7 +871,9 @@ pps_ioctl(u_long cmd, caddr_t data, struct pps_state *pps)
|
||||
{
|
||||
pps_params_t *app;
|
||||
struct pps_fetch_args *fapi;
|
||||
#ifdef PPS_SYNC
|
||||
struct pps_kcbind_args *kapi;
|
||||
#endif
|
||||
|
||||
switch (cmd) {
|
||||
case PPS_IOC_CREATE:
|
||||
|
Loading…
Reference in New Issue
Block a user