* lib/selinux.c, lib/semanage.c: prototypes.h was not included.

This commit is contained in:
nekral-guest 2012-01-08 16:06:57 +00:00
parent 7ac5cc7dd0
commit 59e64f8b82
3 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2012-01-08 Nicolas François <nicolas.francois@centraliens.net>
* lib/prototypes.h: Cleanup.
* lib/selinux.c, lib/semanage.c: prototypes.h was not included.
2011-12-09 Peter Vrabec <pvrabec@redhat.com>

View File

@ -34,6 +34,7 @@
#include "defines.h"
#include <selinux/selinux.h>
#include "prototypes.h"
static bool selinux_checked = false;

View File

@ -34,11 +34,14 @@
#include "defines.h"
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdarg.h>
#include <selinux/selinux.h>
#include <semanage/semanage.h>
#include "prototypes.h"
#ifndef DEFAULT_SERANGE
@ -46,7 +49,7 @@
#endif
static void semanage_error_callback (void *varg,
static void semanage_error_callback (unused void *varg,
semanage_handle_t *handle,
const char *fmt, ...)
{