File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ struct RtaiApp : RtapiApp {
115115 }
116116
117117 int task_pll_set_correction (long value) {
118+ (void )value;
118119 // PLL functions not supported
119120 return -EINVAL;
120121 }
@@ -133,6 +134,7 @@ struct RtaiApp : RtapiApp {
133134#ifdef HAVE_SYS_IO_H
134135 return inb (port);
135136#else
137+ (void )port;
136138 return 0 ;
137139#endif
138140 }
@@ -141,6 +143,7 @@ struct RtaiApp : RtapiApp {
141143#ifdef HAVE_SYS_IO_H
142144 return outb (val, port);
143145#else
146+ (void )port;
144147 return 0 ;
145148#endif
146149 }
Original file line number Diff line number Diff line change @@ -99,10 +99,12 @@ struct XenomaiApp : RtapiApp {
9999 }
100100
101101 int task_pause (int task_id) {
102+ (void )task_id;
102103 return -ENOSYS;
103104 }
104105
105106 int task_resume (int task_id) {
107+ (void )task_id;
106108 return -ENOSYS;
107109 }
108110
Original file line number Diff line number Diff line change @@ -117,10 +117,12 @@ struct XenomaiApp : RtapiApp {
117117 }
118118
119119 int task_pause (int task_id) {
120+ (void )task_id;
120121 return -ENOSYS;
121122 }
122123
123124 int task_resume (int task_id) {
125+ (void )task_id;
124126 return -ENOSYS;
125127 }
126128
You can’t perform that action at this time.
0 commit comments