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

remove warnings under Darwin for missing includes and too many parameters in TRACE2

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1404 fd59a12c-fef9-0310-b244-a6a79926bd2f
Fabien Thomas 18 лет назад
Родитель
Сommit
1c4833edba
4 измененных файлов с 4 добавлено и 1 удалено
  1. 1 1
      exec/amf.c
  2. 1 0
      exec/amfapp.c
  3. 1 0
      exec/amfsi.c
  4. 1 0
      exec/amfsu.c

+ 1 - 1
exec/amf.c

@@ -1969,7 +1969,7 @@ static void message_handler_req_lib_amf_pmstop (
 	struct amf_comp *comp;
 	SaAisErrorT error = SA_AIS_OK;
 
-	TRACE2 ("PmStop msg: '%s', %llu %d %d %d",
+	TRACE2 ("PmStop msg: '%s', %llu %d %d",
 			req_lib->compName.value, 
 			req_lib->processId,
 			req_lib->stopQualifier,

+ 1 - 0
exec/amfapp.c

@@ -125,6 +125,7 @@
 */
 
 #include <assert.h>
+#include <stdlib.h>
 #include "amf.h"
 #include "print.h"
 #include "util.h"

+ 1 - 0
exec/amfsi.c

@@ -112,6 +112,7 @@
 
 #include <assert.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include "amf.h"
 #include "print.h"
 #include "util.h"

+ 1 - 0
exec/amfsu.c

@@ -370,6 +370,7 @@
  *
  */
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
 #include <string.h>