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 t54GFZiI032597 for ; Thu, 4 Jun 2015 12:15:35 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id E8BB3376B7F for ; Thu, 4 Jun 2015 16:15:33 +0000 (UTC) Subject: [PATCH 2/3] selinux-testsuite: fix compile warnings in tests/setnice From: Paul Moore To: selinux@tycho.nsa.gov Date: Thu, 04 Jun 2015 12:15:32 -0400 Message-ID: <20150604161532.4124.50795.stgit@localhost> In-Reply-To: <20150604161454.4124.77310.stgit@localhost> References: <20150604161454.4124.77310.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/setnice' cc parent.c -lselinux -o parent parent.c: In function 'main': parent.c:92:9: warning: implicit declaration of function 'setpriority' rc = setpriority(0,pid,10); ^ Signed-off-by: Paul Moore --- tests/setnice/parent.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/setnice/parent.c b/tests/setnice/parent.c index d5a2533..6d3c855 100644 --- a/tests/setnice/parent.c +++ b/tests/setnice/parent.c @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include #include #include