commit 0a2562e9949df7e6f5c4f43171aaf5ccf7ba7943 Author: FRIGN <d...@frign.de> AuthorDate: Tue Aug 4 12:44:33 2015 +0200 Commit: sin <s...@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 @@ -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;