Make fname static in cut() in cut(1)

This commit is contained in:
FRIGN 2015-08-04 12:44:33 +02:00 committed by sin
parent e153447657
commit 0a2562e994

2
cut.c
View File

@ -105,7 +105,7 @@ seek(const char *s, size_t pos, size_t *prev, size_t count)
} }
static void static void
cut(FILE *fp, char *fname) cut(FILE *fp, const char *fname)
{ {
static char *buf = NULL; static char *buf = NULL;
static size_t size = 0; static size_t size = 0;