From c3139e9d0c99f32773e4328bfb0bb822e8a077a7 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Thu, 8 May 2014 20:15:57 +0200 Subject: [PATCH] wrlib: fixed prototype for 'RShutdown' in the public API header Took opportunity to move it closer to the beginning of the file to improve its visibility to users of the lib --- wrlib/wraster.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wrlib/wraster.h b/wrlib/wraster.h index c4ed2310..88f3a72a 100644 --- a/wrlib/wraster.h +++ b/wrlib/wraster.h @@ -289,6 +289,11 @@ enum { #define RERR_INTERNAL 128 /* should not happen */ +/* + * Cleaning before application exit + */ +void RShutdown(void); + /* * Returns a NULL terminated array of strings containing the * supported formats, such as: TIFF, XPM, PNG, JPEG, PPM, GIF @@ -431,11 +436,7 @@ RImage *RRenderMultiGradient(unsigned width, unsigned height, RColor **colors, RImage *RRenderInterwovenGradient(unsigned width, unsigned height, RColor colors1[2], int thickness1, RColor colors2[2], int thickness2); -/* - * Cleaning - */ -void RShutdown(); /* * Convertion into X Pixmaps