Dropped passing dummy variable to select() in example, use NULL instead.
Compare changes
+ 2
− 4
@@ -809,11 +809,9 @@ int main(int argc,char *const *argv){
@@ -836,11 +834,11 @@ int main(int argc,char *const *argv){
This avoid the following compiler message:
../../examples/player_example.c: In function ‘main’:
../../examples/player_example.c:839:22: warning: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4 [-Werror=restrict]
839 | n=select(n,&empty,&writefs,&empty,&timeout);
| ^~~~~~ ~~~~~~
../../examples/player_example.c:843:18: warning: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4 [-Werror=restrict]
843 | select(n,&empty,&writefs,&empty,NULL);
| ^~~~~~ ~~~~~~