1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 13:33:49 +01:00

Merge pull request #17768 from HendrikVE/pr/lwip_move_includes

pkg/lwip: move includes to the top of the file
This commit is contained in:
benpicco 2022-03-08 14:39:48 +01:00 committed by GitHub
commit b16fd97514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,9 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de> * @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/ */
#include <assert.h>
#include <stdio.h>
#include "lwip/sock_internal.h" #include "lwip/sock_internal.h"
#include "net/af.h" #include "net/af.h"
@ -349,9 +352,6 @@ static int _create(int type, int proto, uint16_t flags, struct netconn **out)
return 0; return 0;
} }
#include <assert.h>
#include <stdio.h>
int lwip_sock_create(struct netconn **conn, const struct _sock_tl_ep *local, int lwip_sock_create(struct netconn **conn, const struct _sock_tl_ep *local,
const struct _sock_tl_ep *remote, int proto, const struct _sock_tl_ep *remote, int proto,
uint16_t flags, int type) uint16_t flags, int type)