commit 65435b097b355105dc9a32f87ed80427d56b1c91
parent 1510ddefc12775143fd05286e92c38d4aed7c3a9
Author: Laslo Hunhold <dev@frign.de>
Date: Fri, 14 Apr 2017 16:39:05 +0200
Staticize functions in png2ff(1)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/png2ff.c b/png2ff.c
@@ -11,7 +11,7 @@
#include "util.h"
-void
+static void
png_err(png_struct *pngs, const char *msg)
{
(void)pngs;
@@ -19,7 +19,7 @@ png_err(png_struct *pngs, const char *msg)
exit(1);
}
-void
+static void
png_setup_reader(png_struct **s, png_info **i, uint32_t *w, uint32_t *h)
{
*s = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, png_err, NULL);