seq: explicate incr
commitecb157940dce74ff041b018445b8d9a4c1b5d39e
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Nov 2024 17:35:35 +0000 (8 09:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 9 Nov 2024 07:41:18 +0000 (8 23:41 -0800)
treecaa781c90674f4fcd002ea5ce143361af5637311
parentddb6f5f4420d84808f8e1e8589839b5705a21786
seq: explicate incr

* src/seq.c (incr): Change API to make the code easier to follow,
and also to avoid undefined behavior on hypothetical platforms
where '9' == INT_MAX (!).  Caller changed.
src/seq.c