]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
diff: simplify the hash functions
authorBaptiste Daroussin <bapt@FreeBSD.org>
Tue, 26 Jan 2021 15:25:00 +0000 (16:25 +0100)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 5 May 2021 08:37:09 +0000 (10:37 +0200)
commitb6b26cecc0babc7834c026b43bb761cbd5147ed9
tree8465a9eb61d831ed641c2e5e4260008b6e00e8fc
parentffbf0225b7d2fbee1acd430eaf714b29f378bebf
diff: simplify the hash functions

Instead of 3 different complex case they have all been folded into a
simple on based on switch

(cherry picked from commit e43239f5140e1b80de122458a2ac037172866058)
usr.bin/diff/diffreg.c