]> git.ipfire.org Git - thirdparty/coreutils.git/commit
uniq: prefer static init
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Nov 2023 23:05:17 +0000 (15:05 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 16 Nov 2023 19:37:25 +0000 (11:37 -0800)
commit3bee7c9754b8be39e81c7260d4eac13ce5702dcd
tree1b398f77d6a3a67a78e450dc0220a0682d1306e8
parenta72b7823b455a3bab85d5b6a09e6ff884cb2842a
uniq: prefer static init

* src/uniq.c (skip_fields, skip_chars, check_chars, count_occurrences)
(output_unique, output_first_repeated, output_later_repeated)
(delimit_groups): Initialize statically, rather than in ‘main’.
This shrinks the executable a bit.
src/uniq.c