Index: trunk/src_plugins/export_png/png.c =================================================================== --- trunk/src_plugins/export_png/png.c (revision 36219) +++ trunk/src_plugins/export_png/png.c (revision 36220) @@ -392,13 +392,6 @@ static rnd_box_t *bounds; static int as_shown; -static void rgb(color_struct *dest, int r, int g, int b) -{ - dest->r = r; - dest->g = g; - dest->b = b; -} - static rnd_hid_attr_val_t *png_options; #include "png_photo2.c" Index: trunk/src_plugins/export_png/png_photo2.c =================================================================== --- trunk/src_plugins/export_png/png_photo2.c (revision 36219) +++ trunk/src_plugins/export_png/png_photo2.c (revision 36220) @@ -30,7 +30,14 @@ * Heavily based on the ps HID written by DJ Delorie */ +static void rgb(color_struct *dest, int r, int g, int b) +{ + dest->r = r; + dest->g = g; + dest->b = b; +} + /* For photo-mode we need the following layers as monochrome masks: top soldermask