selinux/*: -Wunused-parameter fixes

runsv: make it NOMMU-capable

function                                             old     new   delta
startservice                                         291     313     +22
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 22/0)               Total: 22 bytes
This commit is contained in:
Denis Vlasenko
2008-03-17 09:19:26 +00:00
parent 4866e905d7
commit 592d4fe772
10 changed files with 52 additions and 38 deletions

View File

@ -99,7 +99,7 @@ enum {
#define FLAG_R (option_mask32 & OPT_R)
static void qprintf(const char *fmt, ...)
static void qprintf(const char *fmt ATTRIBUTE_UNUSED, ...)
{
/* quiet, do nothing */
}
@ -391,8 +391,11 @@ static int restore(const char *file)
* This function is called by recursive_action on each file during
* the directory traversal.
*/
static int apply_spec(const char *file,
struct stat *sb, void *userData, int depth)
static int apply_spec(
const char *file,
struct stat *sb,
void *userData ATTRIBUTE_UNUSED,
int depth ATTRIBUTE_UNUSED)
{
if (!follow_mounts) {
/* setfiles does not process across different mount points */