mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-23 21:43:51 +01:00
Merge pull request #1312 from mehlis/pnet-unused-param
pnet: silence unused argument warnings
This commit is contained in:
commit
bef04d9f75
@ -97,6 +97,12 @@ int getsockopt(int socket, int level, int option_name,
|
||||
void *restrict option_value, socklen_t *restrict option_len)
|
||||
{
|
||||
// TODO
|
||||
(void) socket;
|
||||
(void) level;
|
||||
(void) option_name;
|
||||
(void) option_value;
|
||||
(void) option_len;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -180,6 +186,12 @@ int setsockopt(int socket, int level, int option_name, const void *option_value,
|
||||
socklen_t option_len)
|
||||
{
|
||||
// TODO
|
||||
(void) socket;
|
||||
(void) level;
|
||||
(void) option_name;
|
||||
(void) option_value;
|
||||
(void) option_len;
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user