| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Message-ID: <20241207045245.1457-1-zhmingluo@163.com>
|
| |
|
|
|
|
|
| |
Also add -Werror=old-style-definition to enforce new code.
Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
|
|
|
|
| |
No actual behavior change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use lwip's err_t as return type for functions called from lwip
and error_t for functions called from the translator.
* lwip/io-ops.c: Include <errno.h>
* as is not being included for other headers anymore.
* lwip/lwip-util.h: Likewise.
* lwip/port/include/netif/hurdethif.h:
* Include <errno.h>
* Change the return type of the init function to err_t.
* lwip/port/include/netif/hurdloopif.h: Liekwise.
* lwip/port/include/netif/hurdtunif.h: Likewise.
* lwip/port/include/netif/ifcommon.h: Likewise.
* lwip/port/netif/ifcommon.c: Likewise.
* lwip/port/netif/hurdloopif.c:
* Include <errno.h>
* Change output function return type to err_t.
* Return lwip's err_t codes.
* lwip/port/netif/hurdethif.c:
* Include <errno.h>
* Change init function return type to err_t.
* Change output function return type to err_t.
* Return lwip's err_t codes.
* lwip/port/netif/hurdtunif.c: Likewise.
Message-Id: <20190331175541.7095-3-jlledom@member.fsf.org>
|
|
|
|
|
|
|
| |
* lwip/iioctl-ops.c: Include <lwip/inet.h>.
* lwip/lwip-util.c: Likewise.
* lwip/pfinet-ops.c: Include <lwip/sockets.h> and <lwip/inet.h>.
* lwip/port/netif/hurdethif.c: Likewise.
|
|
* Makefile (prog-subdirs): Add lwip.
* config.make.in (HAVE_LIBLWIP, liblwip_CFLAGS, liblwip_LIBS): Define
variables.
* configure.ac: Check for liblwip.
* lwip/: New directory.
|