Browse Source

gnrc_sock: move net/af.h include to sock_types.h

pr/spi.typo
Martine Lenders 6 years ago
parent
commit
bd533dd785
  1. 1
      sys/include/net/sock/ip.h
  2. 1
      sys/include/net/sock/tcp.h
  3. 1
      sys/include/net/sock/udp.h
  4. 2
      sys/net/gnrc/sock/include/sock_types.h
  5. 1
      tests/gnrc_sock_ip/main.c
  6. 1
      tests/gnrc_sock_udp/main.c

1
sys/include/net/sock/ip.h

@ -25,7 +25,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
* #include <stdio.h>
*
* #include "net/af.h"
* #include "net/protnum.h"
* #include "net/sock/ip.h"
*

1
sys/include/net/sock/tcp.h

@ -23,7 +23,6 @@
* ### A Simple TCP Echo Server
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
* #include "net/af.h"
* #include "net/sock/tcp.h"
*
* #define SOCK_QUEUE_LEN (1U)

1
sys/include/net/sock/udp.h

@ -25,7 +25,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c}
* #include <stdio.h>
*
* #include "net/af.h"
* #include "net/sock/udp.h"
*
* uint8_t buf[128];

2
sys/net/gnrc/sock/include/sock_types.h

@ -24,7 +24,9 @@
#include <stdbool.h>
#include <stdint.h>
#include "mbox.h"
#include "net/af.h"
#include "net/gnrc.h"
#include "net/gnrc/netreg.h"
#include "net/sock/ip.h"

1
tests/gnrc_sock_ip/main.c

@ -22,7 +22,6 @@
#include <stdint.h>
#include <stdio.h>
#include "net/af.h"
#include "net/sock/ip.h"
#include "xtimer.h"

1
tests/gnrc_sock_udp/main.c

@ -22,7 +22,6 @@
#include <stdint.h>
#include <stdio.h>
#include "net/af.h"
#include "net/sock/udp.h"
#include "xtimer.h"

Loading…
Cancel
Save