diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2024-05-23 07:52:39 +0200 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2024-06-17 08:25:25 -0400 |
| commit | e4425bca5207c988e88618ad6ecf9265d7c6e5f3 (patch) | |
| tree | 65168af830b1ac9437ab4f325c08fe2efb46322e /recipes-mac/smack/tcp-smack-test/tcp_client.c | |
| parent | 03b522f859ac9f73eb054c4b3649464aace6960f (diff) | |
| download | meta-security-e4425bca5207c988e88618ad6ecf9265d7c6e5f3.tar.gz | |
{tcp,udp}-smack-test: fix implicit-function-declaration issues fatal with gcc-14
tcp-smack-test:
http://errors.yoctoproject.org/Errors/Details/766925/
tcp_client.c:55:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
udp-client-tests:
http://errors.yoctoproject.org/Errors/Details/766927/
udp_client.c:41:16: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
udp_client.c:51:12: error: implicit declaration of function 'fsetxattr' [-Wimplicit-function-declaration]
udp_client.c:66:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-mac/smack/tcp-smack-test/tcp_client.c')
| -rw-r--r-- | recipes-mac/smack/tcp-smack-test/tcp_client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-mac/smack/tcp-smack-test/tcp_client.c b/recipes-mac/smack/tcp-smack-test/tcp_client.c index 6c0a474..b82b575 100644 --- a/recipes-mac/smack/tcp-smack-test/tcp_client.c +++ b/recipes-mac/smack/tcp-smack-test/tcp_client.c | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 18 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 19 | // THE SOFTWARE. | 19 | // THE SOFTWARE. |
| 20 | #include <stdio.h> | 20 | #include <stdio.h> |
| 21 | #include <stdlib.h> | ||
| 21 | #include <sys/socket.h> | 22 | #include <sys/socket.h> |
| 22 | #include <sys/types.h> | 23 | #include <sys/types.h> |
| 23 | #include <errno.h> | 24 | #include <errno.h> |
