File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -194,25 +194,25 @@ yield_waitfor_return_t yield_wait_for(uint32_t driver, uint32_t subscribe);
194
194
void tock_exit (uint32_t completion_code ) __attribute__ ((noreturn ));
195
195
void tock_restart (uint32_t completion_code ) __attribute__ ((noreturn ));
196
196
197
- [[ nodiscard ]]
197
+ [[ gnu :: nodiscard ]]
198
198
syscall_return_t command (uint32_t driver , uint32_t command , int arg1 , int arg2 );
199
199
200
200
// Pass this to the subscribe syscall as a function pointer to
201
201
// be the Null Upcall.
202
202
#define TOCK_NULL_UPCALL 0
203
203
204
- [[ nodiscard ]]
204
+ [[ gnu :: nodiscard ]]
205
205
subscribe_return_t subscribe (uint32_t driver , uint32_t subscribe , subscribe_upcall uc , void * userdata );
206
206
207
- [[ nodiscard ]]
207
+ [[ gnu :: nodiscard ]]
208
208
allow_rw_return_t allow_readwrite (uint32_t driver , uint32_t allow , void * ptr , size_t size );
209
209
210
- [[ nodiscard ]]
210
+ [[ gnu :: nodiscard ]]
211
211
allow_userspace_r_return_t allow_userspace_read (uint32_t driver ,
212
212
uint32_t allow , void * ptr ,
213
213
size_t size );
214
214
215
- [[ nodiscard ]]
215
+ [[ gnu :: nodiscard ]]
216
216
allow_ro_return_t allow_readonly (uint32_t driver , uint32_t allow , const void * ptr , size_t size );
217
217
218
218
// Call the memop syscall.
You can’t perform that action at this time.
0 commit comments