summaryrefslogtreecommitdiff
path: root/png2ff.c
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2017-04-14 16:39:05 +0200
committerLaslo Hunhold <dev@frign.de>2017-04-14 16:39:05 +0200
commit65435b097b355105dc9a32f87ed80427d56b1c91 (patch)
tree32fcf877f955955bec9c0aada3e9942074f62a30 /png2ff.c
parent1510ddefc12775143fd05286e92c38d4aed7c3a9 (diff)
Staticize functions in png2ff(1)
Diffstat (limited to 'png2ff.c')
-rw-r--r--png2ff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/png2ff.c b/png2ff.c
index d76d707..c7237c4 100644
--- 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);