* lib/selinux.c, lib/semanage.c: prototypes.h was not included.
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
				
			|||||||
2012-01-08  Nicolas François  <nicolas.francois@centraliens.net>
 | 
					2012-01-08  Nicolas François  <nicolas.francois@centraliens.net>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	* lib/prototypes.h: Cleanup.
 | 
						* lib/prototypes.h: Cleanup.
 | 
				
			||||||
 | 
						* lib/selinux.c, lib/semanage.c: prototypes.h was not included.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
2011-12-09  Peter Vrabec  <pvrabec@redhat.com>
 | 
					2011-12-09  Peter Vrabec  <pvrabec@redhat.com>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,6 +34,7 @@
 | 
				
			|||||||
#include "defines.h"
 | 
					#include "defines.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <selinux/selinux.h>
 | 
					#include <selinux/selinux.h>
 | 
				
			||||||
 | 
					#include "prototypes.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool selinux_checked = false;
 | 
					static bool selinux_checked = false;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -34,11 +34,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "defines.h"
 | 
					#include "defines.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifndef _GNU_SOURCE
 | 
				
			||||||
#define _GNU_SOURCE
 | 
					#define _GNU_SOURCE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdarg.h>
 | 
					#include <stdarg.h>
 | 
				
			||||||
#include <selinux/selinux.h>
 | 
					#include <selinux/selinux.h>
 | 
				
			||||||
#include <semanage/semanage.h>
 | 
					#include <semanage/semanage.h>
 | 
				
			||||||
 | 
					#include "prototypes.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef DEFAULT_SERANGE
 | 
					#ifndef DEFAULT_SERANGE
 | 
				
			||||||
@@ -46,7 +49,7 @@
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void semanage_error_callback (void *varg,
 | 
					static void semanage_error_callback (unused void *varg,
 | 
				
			||||||
                                     semanage_handle_t *handle,
 | 
					                                     semanage_handle_t *handle,
 | 
				
			||||||
                                     const char *fmt, ...)
 | 
					                                     const char *fmt, ...)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user