From 7332cda41120e671d5a3613ee898bb59da6a133e Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 15 Nov 2013 09:41:28 +0100 Subject: move structs and functions definitions to new header file --- cqrlogo.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'cqrlogo.c') diff --git a/cqrlogo.c b/cqrlogo.c index 1c1a27c..4f4692e 100644 --- a/cqrlogo.c +++ b/cqrlogo.c @@ -17,16 +17,12 @@ #include "config.h" +/* define structs and functions */ +#include "cqrlogo.h" + #define URLPATTERN "^[hH][tT][tT][pP][sS]\\?://%s/" #define TEXTSTOLEN "This QR Code has been stolen from http%s://%s/!" -/* a bitmap */ -struct bitmap_t { - unsigned int width; - unsigned int height; - uint8_t *pixel; -}; - #if defined PNG_TEXT_SUPPORTED && PNG_ENABLE_TEXT /*** add_png_text ***/ png_text * add_png_text(png_text *pngtext, unsigned int *textcount, char *key, char *text) { -- cgit v1.2.3-54-g00ecf