3d98244130
Fix warnings and enable Wall. pidfd_wait.c: In function ‘wait_nonblock’: pidfd_wait.c:150:13: warning: unused variable ‘status’ [-Wunused-variable] 150 | int pidfd, status = 0; | ^~~~~~ ... pidfd_test.c: In function ‘child_poll_exec_test’: pidfd_test.c:438:1: warning: no return statement in function returning non-void [-Wreturn-type] 438 | } | ^ Signed-off-by: Li Zhijian <lizhijian@fujitsu.com> v2: fix mistake assignment to pidfd Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
9 lines
243 B
Makefile
9 lines
243 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -g -I../../../../usr/include/ -pthread -Wall
|
|
|
|
TEST_GEN_PROGS := pidfd_test pidfd_fdinfo_test pidfd_open_test \
|
|
pidfd_poll_test pidfd_wait pidfd_getfd_test pidfd_setns_test
|
|
|
|
include ../lib.mk
|
|
|