Fix regex type usage
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sun, 23 Apr 2023 00:55:05 +0000 (02:55 +0200)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 1 May 2023 13:08:59 +0000 (09:08 -0400)
commitbe9ad3004f65b54dd6cc0325315559c72396bc1c
treeb15df41c48f09b2caf8bd1a2e2a6740a86f869de
parente2b3d7f4853124746178148cf3f2af4e9c23f73d
Fix regex type usage

include/regex.h had not been updated during the int -> Idx transition,
and the prototypes don't matched the definitions in regexec.c.

In regcomp.c, most interfaces were updated for Idx, except for two ones
guarded by #if _LIBC.

Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
include/regex.h
posix/regcomp.c