From 565fa16265d72c64b9f9ead4436fce12cbe7b0c8 Mon Sep 17 00:00:00 2001 From: Christian Forfang Date: Sun, 15 Jun 2014 19:41:57 +0200 Subject: [PATCH] Fixed missing void in function with no parameters --- src/nanovg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nanovg.c b/src/nanovg.c index 452a880..e39fb13 100644 --- a/src/nanovg.c +++ b/src/nanovg.c @@ -151,7 +151,7 @@ static void nvg__deletePathCache(struct NVGpathCache* c) free(c); } -static struct NVGpathCache* nvg__allocPathCache() +static struct NVGpathCache* nvg__allocPathCache(void) { struct NVGpathCache* c = (struct NVGpathCache*)malloc(sizeof(struct NVGpathCache)); if (c == NULL) goto error;