]> Savannah Git Hosting - gnulib.git/commit
idx: simplify IDX_MAX, remove IDX_WIDTH
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Dec 2020 07:52:24 +0000 (23:52 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Dec 2020 09:39:45 +0000 (01:39 -0800)
commit03d1588fca2bffe92b08bb4f4ba69273f4843431
treeff0247bb8499881b1762879f89f6afc8106aafb6
parentdf78e7131bffb3ffaa14b3cb80d0ab0b68a7314e
idx: simplify IDX_MAX, remove IDX_WIDTH

* lib/idx.h (IDX_MAX): Simplify by removing obsolete reference
to UNSIGNED_IDX_T.
(IDX_WIDTH): Remove, since it’s not used and its value
arguably should be PTRDIFF_WIDTH anyway.
ChangeLog
lib/idx.h