From 1c4833edba3877bfbed084ffcd5c228eb91ffd7f Mon Sep 17 00:00:00 2001 From: Fabien Thomas Date: Mon, 2 Jul 2007 12:41:53 +0000 Subject: [PATCH] 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 --- exec/amf.c | 2 +- exec/amfapp.c | 1 + exec/amfsi.c | 1 + exec/amfsu.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exec/amf.c b/exec/amf.c index 5b4c889a..ecddbba4 100644 --- a/exec/amf.c +++ b/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, diff --git a/exec/amfapp.c b/exec/amfapp.c index 5a6d1cff..32099c4f 100644 --- a/exec/amfapp.c +++ b/exec/amfapp.c @@ -125,6 +125,7 @@ */ #include +#include #include "amf.h" #include "print.h" #include "util.h" diff --git a/exec/amfsi.c b/exec/amfsi.c index 35ef1c50..3fcaf386 100644 --- a/exec/amfsi.c +++ b/exec/amfsi.c @@ -112,6 +112,7 @@ #include #include +#include #include "amf.h" #include "print.h" #include "util.h" diff --git a/exec/amfsu.c b/exec/amfsu.c index 897908d4..f324b9d2 100644 --- a/exec/amfsu.c +++ b/exec/amfsu.c @@ -370,6 +370,7 @@ * */ +#include #include #include #include