# HG changeset patch # User Matti Hamalainen # Date 1526011596 -10800 # Node ID 9217fcc727e85b1c84ad7d9df0a4cd6230b2a2e9 # Parent ee01fdec1a7b9f983a580cc1c8c3791cb57337ba Move encoding stub function to better place. diff -r ee01fdec1a7b -r 9217fcc727e8 tools/lib64gfx.c --- a/tools/lib64gfx.c Fri May 11 06:28:55 2018 +0300 +++ b/tools/lib64gfx.c Fri May 11 07:06:36 2018 +0300 @@ -753,15 +753,8 @@ } -static int fmtEncodeStub(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt) { - (void) buf; - (void) img; - (void) fmt; - return dmError(DMERR_NOT_SUPPORTED, - "Encoding of '%s' format not supported.\n", - fmt->name); } @@ -855,6 +848,18 @@ } +static int fmtEncodeStub(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt) +{ + (void) buf; + (void) img; + (void) fmt; + + return dmError(DMERR_NOT_SUPPORTED, + "Encoding of '%s' format not supported.\n", + fmt->name); +} + + // // Array with data for supported formats //