Просмотр исходного кода

totem: Remove unnecessary NSS headers

Also fix corosync.spec.in to depend on libknet.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Fabio M. Di Nitto 8 лет назад
Родитель
Сommit
76591baa4a
4 измененных файлов с 1 добавлено и 15 удалено
  1. 1 0
      corosync.spec.in
  2. 0 5
      exec/totemknet.c
  3. 0 5
      exec/totemudp.c
  4. 0 5
      exec/totemudpu.c

+ 1 - 0
corosync.spec.in

@@ -44,6 +44,7 @@ Conflicts: openais <= 0.89, openais-devel <= 0.89
 BuildRequires: groff
 BuildRequires: libqb-devel
 BuildRequires: nss-devel
+BuildRequires: libknet1-devel
 BuildRequires: zlib-devel
 %if %{with runautogen}
 BuildRequires: autoconf automake libtool

+ 0 - 5
exec/totemknet.c

@@ -70,11 +70,6 @@
 
 #include "util.h"
 
-#include <nss.h>
-#include <pk11pub.h>
-#include <pkcs11.h>
-#include <prerror.h>
-
 #include <libknet.h>
 #include <corosync/totem/totemstats.h>
 

+ 0 - 5
exec/totemudp.c

@@ -69,11 +69,6 @@
 
 #include "util.h"
 
-#include <nss.h>
-#include <pk11pub.h>
-#include <pkcs11.h>
-#include <prerror.h>
-
 #ifndef MSG_NOSIGNAL
 #define MSG_NOSIGNAL 0
 #endif

+ 0 - 5
exec/totemudpu.c

@@ -70,11 +70,6 @@
 
 #include "util.h"
 
-#include <nss.h>
-#include <pk11pub.h>
-#include <pkcs11.h>
-#include <prerror.h>
-
 #ifndef MSG_NOSIGNAL
 #define MSG_NOSIGNAL 0
 #endif