From 0d811963c1498aa625b5438bf66dbb677a0d4494 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 28 May 2015 17:06:18 +0100 Subject: fixup all the remaining logging macro callsites The semantic patch tool appears to have missed some difficult to reason about callsites which have now been manually cleaned up --- amiga/libs.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'amiga/libs.c') diff --git a/amiga/libs.c b/amiga/libs.c index 903c0f7d0..c20147a88 100644 --- a/amiga/libs.c +++ b/amiga/libs.c @@ -54,14 +54,14 @@ #ifdef __amigaos4__ #define AMINS_LIB_OPEN(LIB, LIBVER, PREFIX, INTERFACE, INTVER, FAIL) \ - LOG(("Opening %s v%d", LIB, LIBVER)); \ + LOG("Opening %s v%d", LIB, LIBVER); \ if((PREFIX##Base = (struct PREFIX##Base *)OpenLibrary(LIB, LIBVER))) { \ I##PREFIX = (struct PREFIX##IFace *)GetInterface((struct Library *)PREFIX##Base, INTERFACE, INTVER, NULL); \ if(I##PREFIX == NULL) { \ - LOG(("Failed to get %s interface v%d of %s", INTERFACE, INTVER, LIB)); \ + LOG("Failed to get %s interface v%d of %s", INTERFACE, INTVER, LIB); \ } \ } else { \ - LOG(("Failed to open %s v%d", LIB, LIBVER)); \ + LOG("Failed to open %s v%d", LIB, LIBVER); \ if(FAIL == true) { \ STRPTR error = ASPrintf("Unable to open %s v%d (fatal error)", LIB, LIBVER); \ ami_misc_fatal_error(error); \ @@ -79,13 +79,13 @@ struct PREFIX##IFace *I##PREFIX; #define AMINS_CLASS_OPEN(CLASS, CLASSVER, PREFIX, CLASSGET, NEEDINTERFACE) \ - LOG(("Opening %s v%d", CLASS, CLASSVER)); \ + LOG("Opening %s v%d", CLASS, CLASSVER); \ if((PREFIX##Base = OpenClass(CLASS, CLASSVER, &PREFIX##Class))) { \ if(NEEDINTERFACE == true) { \ - LOG((" + interface")); \ + LOG(" + interface"); \ I##PREFIX = (struct PREFIX##IFace *)GetInterface((struct Library *)PREFIX##Base, "main", 1, NULL); \ if(I##PREFIX == NULL) { \ - LOG(("Failed to get main interface v1 of %s", CLASS)); \ + LOG("Failed to get main interface v1 of %s", CLASS); \ } \ } \ } \ @@ -107,10 +107,10 @@ #else #define AMINS_LIB_OPEN(LIB, LIBVER, PREFIX, INTERFACE, INTVER, FAIL) \ - LOG(("Opening %s v%d", LIB, LIBVER)); \ + LOG("Opening %s v%d", LIB, LIBVER); \ if((PREFIX##Base = (struct PREFIX##Base *)OpenLibrary(LIB, LIBVER))) { \ } else { \ - LOG(("Failed to open %s v%d", LIB, LIBVER)); \ + LOG("Failed to open %s v%d", LIB, LIBVER); \ if(FAIL == true) { \ STRPTR error = ASPrintf("Unable to open %s v%d (fatal error)", LIB, LIBVER); \ ami_misc_fatal_error(error); \ @@ -126,7 +126,7 @@ struct PREFIX##Base *PREFIX##Base; #define AMINS_CLASS_OPEN(CLASS, CLASSVER, PREFIX, CLASSGET, NEEDINTERFACE) \ - LOG(("Opening %s v%d", CLASS, CLASSVER)); \ + LOG("Opening %s v%d", CLASS, CLASSVER); \ if((PREFIX##Base = OpenLibrary(CLASS, CLASSVER))) { \ PREFIX##Class = CLASSGET##_GetClass(); \ } \ -- cgit v1.2.3