That is, use it also in the definition and not only the declaration.
I believe this was the intention of commit https://github.com/bitcoin-core/secp256k1/commit/be82bd8e0347e090037ff1d30a22a9d614db8c9f, but it was omitted there.
edit: Changed the description. I’m not entirely sure but after looking at the standard, I tend to think this is more than a cosmetic change, and only this change actually makes the parameters restrict
. Anyway, I believe making them restrict
was simply forgotten in be82bd8e0347e090037ff1d30a22a9d614db8c9f.