]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
wc: pacify ‘make syntax-check’
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Sep 2023 00:19:35 +0000 (17:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 24 Sep 2023 00:20:26 +0000 (17:20 -0700)
* src/wc_avx2.c (wc_lines_avx2): Explicitly make it ‘extern’.
Not sure why this is needed.

src/wc_avx2.c

index 79e96e4f92355a22ed0b7d8449d194c26752ad0e..fa4eb893f16b9c750cd17f29433f57ea8d42c679 100644 (file)
@@ -28,7 +28,7 @@
 #define BUFSIZE (16320)
 
 /* Read FD and return a summary.  */
-struct wc_lines
+extern struct wc_lines
 wc_lines_avx2 (int fd)
 {
   intmax_t lines = 0;