[hackers] [sbase] Make fname static in cut() in cut(1) || FRIGN
commit 0a2562e9949df7e6f5c4f43171aaf5ccf7ba7943
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue Aug 4 12:44:33 2015 +0200
Commit: sin <sin_AT_2f30.org>
CommitDate: Tue Aug 4 12:08:13 2015 +0100
Make fname static in cut() in cut(1)
diff --git a/cut.c b/cut.c
index 0d3375e..7e5927b 100644
--- a/cut.c
+++ b/cut.c
_AT_@ -105,7 +105,7 @@ seek(const char *s, size_t pos, size_t *prev, size_t count)
}
static void
-cut(FILE *fp, char *fname)
+cut(FILE *fp, const char *fname)
{
static char *buf = NULL;
static size_t size = 0;
Received on Tue Aug 04 2015 - 13:09:00 CEST
This archive was generated by hypermail 2.3.0
: Tue Aug 04 2015 - 13:12:12 CEST