[hackers] [farbfeld] Staticize functions in png2ff(1) || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Fri, 14 Apr 2017 17:36:53 +0200 (CEST)

commit 65435b097b355105dc9a32f87ed80427d56b1c91
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Fri Apr 14 16:39:05 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Fri Apr 14 16:39:05 2017 +0200

    Staticize functions in png2ff(1)

diff --git a/png2ff.c b/png2ff.c
index d76d707..c7237c4 100644
--- a/png2ff.c
+++ b/png2ff.c
_AT_@ -11,7 +11,7 @@
 
 #include "util.h"
 
-void
+static void
 png_err(png_struct *pngs, const char *msg)
 {
         (void)pngs;
_AT_@ -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);
Received on Fri Apr 14 2017 - 17:36:53 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 14 2017 - 17:48:16 CEST