commit 0a2562e9949df7e6f5c4f43171aaf5ccf7ba7943 parent e1534476570098ea257c84f77ebb96ad835a7c7b Author: FRIGN <dev@frign.de> Date: Tue, 4 Aug 2015 12:44:33 +0200 Make fname static in cut() in cut(1) Diffstat:
M | cut.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;