From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id t54KwFja021393 for ; Thu, 4 Jun 2015 16:58:15 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 9C9E28E3C8 for ; Thu, 4 Jun 2015 20:58:13 +0000 (UTC) Subject: [PATCH v3 3/6] selinux-testsuite: fix some compile warnings in tests/nnp From: Paul Moore To: selinux@tycho.nsa.gov Date: Thu, 04 Jun 2015 16:58:12 -0400 Message-ID: <20150604205812.19614.81751.stgit@localhost> In-Reply-To: <20150604205708.19614.64746.stgit@localhost> References: <20150604205708.19614.64746.stgit@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: Correct the following: make[2]: Entering directory '/root/sources/selinux-testsuite/tests/nnp' cc execnnp.c -lselinux -o execnnp execnnp.c: In function 'main': execnnp.c:27:9: warning: implicit declaration of function 'strverscmp' (strverscmp(uts.release, "3.18") < 0)); ^ execnnp.c:47:8: warning: implicit declaration of function 'wait' pid = wait(&status); Signed-off-by: Paul Moore --- tests/nnp/execnnp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/nnp/execnnp.c b/tests/nnp/execnnp.c index a5a80cf..756c2d0 100644 --- a/tests/nnp/execnnp.c +++ b/tests/nnp/execnnp.c @@ -5,6 +5,8 @@ #include #include #include +#include +#include int main(int argc, char **argv) {