fix inadvertently static local var in dynlink get_lfs64
authorRich Felker <dalias@aerifal.cx>
Tue, 11 Apr 2023 13:06:27 +0000 (09:06 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 11 Apr 2023 13:06:27 +0000 (09:06 -0400)
commit7c41047285a24a97e700b4fb5b6b69f4505e2d82
treef0355d25ffd0ba09d1b231aa7c06faa369282d54
parent77327ed064bd57b0e1865cd0e0364057ff4a53b4
fix inadvertently static local var in dynlink get_lfs64

commit 246f1c811448f37a44b41cd8df8d0ef9736d95f4 inadvertently
introduced the local variable p as static by declaring it together
with lfs64_list. the function is only reachable under lock, and is not
called reentrantly, so this is not a functional bug, but it is
confusing and inefficient. fix by separating the declarations.
ldso/dynlink.c