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

don't include <assert.h> when it's not used

* exec/apidef.c: Likewise.
* exec/mainconfig.c: Likewise.
* exec/service.c: Likewise.
* exec/timer.c: Likewise.
* exec/totemconfig.c: Likewise.
* exec/totemmrp.c: Likewise.
* exec/vsf_quorum.c: Likewise.
* services/testquorum.c: Likewise.
* test/cpgbench.c: Likewise.
* test/cpgbenchzc.c: Likewise.
* tools/corosync-fplay.c: Likewise.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2192 fd59a12c-fef9-0310-b244-a6a79926bd2f
Jim Meyering 16 лет назад
Родитель
Сommit
d44aad2eea
11 измененных файлов с 0 добавлено и 11 удалено
  1. 0 1
      exec/apidef.c
  2. 0 1
      exec/mainconfig.c
  3. 0 1
      exec/service.c
  4. 0 1
      exec/timer.c
  5. 0 1
      exec/totemconfig.c
  6. 0 1
      exec/totemmrp.c
  7. 0 1
      exec/vsf_quorum.c
  8. 0 1
      services/testquorum.c
  9. 0 1
      test/cpgbench.c
  10. 0 1
      test/cpgbenchzc.c
  11. 0 1
      tools/corosync-fplay.c

+ 0 - 1
exec/apidef.c

@@ -36,7 +36,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <corosync/corotypes.h>
 #include <corosync/coroipc_types.h>

+ 0 - 1
exec/mainconfig.c

@@ -39,7 +39,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>
-#include <assert.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>

+ 0 - 1
exec/service.c

@@ -37,7 +37,6 @@
 
 #include <stdlib.h>
 #include <string.h>
-#include <assert.h>
 
 #include <corosync/lcr/lcr_ifact.h>
 #include <corosync/swab.h>

+ 0 - 1
exec/timer.c

@@ -36,7 +36,6 @@
 #include <config.h>
 
 #include <pthread.h>
-#include <assert.h>
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>

+ 0 - 1
exec/totemconfig.c

@@ -39,7 +39,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>
-#include <assert.h>
 #include <unistd.h>
 #include <sys/socket.h>
 #include <sys/types.h>

+ 0 - 1
exec/totemmrp.c

@@ -35,7 +35,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/stat.h>

+ 0 - 1
exec/vsf_quorum.c

@@ -34,7 +34,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>

+ 0 - 1
services/testquorum.c

@@ -34,7 +34,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>

+ 0 - 1
test/cpgbench.c

@@ -34,7 +34,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

+ 0 - 1
test/cpgbenchzc.c

@@ -34,7 +34,6 @@
 
 #include <config.h>
 
-#include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

+ 0 - 1
tools/corosync-fplay.c

@@ -7,7 +7,6 @@
 #include <unistd.h>
 #include <string.h>
 #include <stdlib.h>
-#include <assert.h>
 #include <stdint.h>
 #include <errno.h>