projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eada0e3
)
Do not compile unused functions when SELinux support is disabled
author
Jindrich Novy
<jnovy@redhat.com>
Fri, 22 Apr 2011 07:30:45 +0000
(09:30 +0200)
committer
Jindrich Novy
<jnovy@redhat.com>
Fri, 22 Apr 2011 07:30:45 +0000
(09:30 +0200)
build/policies.c
patch
|
blob
|
history
diff --git
a/build/policies.c
b/build/policies.c
index
4beedab
..
8316637
100644
(file)
--- a/
build/policies.c
+++ b/
build/policies.c
@@
-16,6
+16,7
@@
#include "debug.h"
+#if WITH_SELINUX
typedef struct ModuleRec_s {
char *path;
char *data;
@@
-288,6
+289,7
@@
static rpmRC processPolicies(rpmSpec spec, Package pkg, int test)
return rc;
}
+#endif
rpmRC processBinaryPolicies(rpmSpec spec, int test)
{