Mark venprintf() as static explicitly, not just in the decl - sinit - suckless … | |
git clone git://git.suckless.org/sinit | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 27326b71197a4f73e422f388d5aa3d1b3ea24bac | |
parent a7b6c6f0751fb34e6b8ed344de0af6dbf42fdb5d | |
Author: sin <[email protected]> | |
Date: Sat, 8 Mar 2014 16:48:28 +0000 | |
Mark venprintf() as static explicitly, not just in the decl | |
Diffstat: | |
M util/eprintf.c | 3 +-- | |
1 file changed, 1 insertion(+), 2 deletions(-) | |
--- | |
diff --git a/util/eprintf.c b/util/eprintf.c | |
@@ -4,7 +4,6 @@ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
- | |
#include "../util.h" | |
static void venprintf(int, const char *, va_list); | |
@@ -29,7 +28,7 @@ enprintf(int status, const char *fmt, ...) | |
va_end(ap); | |
} | |
-void | |
+static void | |
venprintf(int status, const char *fmt, va_list ap) | |
{ | |
vfprintf(stderr, fmt, ap); |