[klibc] Use bounded array parameter types consistently

A function parameter declared with array type really has pointer type,
and multiple declarations of a function are allowed to specify the
same parameter as T[n], T[] or T *.  However, gcc 11 now warns if they
don't exactly match.

Change the prototypes of {j,n}rand48(), seed48(), pipe{,2}(), and
utimes() to declare parameters with the same bounded array types that
their definitions use.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
3 files changed