Renamed SetMagickInfo to AcquireMagickInfo and made the module and description mandatory.
Changed RegisterMagickInfo to return a boolean instead of the supplied pointer.
diff --git a/coders/label.c b/coders/label.c
index 9d4fb69..78f4fe8 100644
--- a/coders/label.c
+++ b/coders/label.c
@@ -279,12 +279,10 @@
MagickInfo
*entry;
- entry=SetMagickInfo("LABEL");
+ entry=AcquireMagickInfo("LABEL","LABEL","Image label");
entry->decoder=(DecodeImageHandler *) ReadLABELImage;
entry->flags^=CoderAdjoinFlag;
entry->format_type=ImplicitFormatType;
- entry->description=ConstantString("Image label");
- entry->module=ConstantString("LABEL");
(void) RegisterMagickInfo(entry);
return(MagickImageCoderSignature);
}