From: Michael Drake Date: Thu, 20 Apr 2017 10:39:32 +0000 (+0100) Subject: Buildsystem: Squash "no previous declaration for 'svgtiny_color_lookup'" X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=8d7ead2dea72c1b60dab316da7069467c62ea95d;p=libsvgtiny.git Buildsystem: Squash "no previous declaration for 'svgtiny_color_lookup'" --- diff --git a/src/Makefile b/src/Makefile index fb8a72f..ff4eaf4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,6 +6,8 @@ SOURCES := $(SOURCES) $(DIR)autogenerated_colors.c: src/colors.gperf $(VQ)$(ECHO) " GPERF: $<" $(Q)gperf --output-file=$@ $< +# Squash "error: no previous declaration for 'svgtiny_color_lookup'" + $(Q)$(SED) -i 's/^\(const struct svgtiny_named_color\)/static \1/' $@ PRE_TARGETS := $(DIR)autogenerated_colors.c