util: fix building when glibc has a stub process_vm_readv
util: fix building when glibc has a stub process_vm_readv

If you have a newer glibc which provides process_vm_readv, but it is built
against older kernel headers which lack __NR_process_vm_readv, the library
will contain a stub implementation that just returns ENOSYS.  Autoconf
checks for this case explicitly and will declare it as unavailable.  So we
end up in a case where the headers provide the prototype, but autoconf has
not defined HAVE_PROCESS_VM_READV, so we hit the same build failure again:

util.c:738:16: error: static declaration of 'process_vm_readv' follows non-static declaration
/usr/include/bits/uio.h:58:16: note: previous declaration of 'process_vm_readv' was here

So rename our local function to something unique, and add a define so the
callers all hit the right place.

* util.c (strace_process_vm_readv): Rename from process_vm_readv.
(process_vm_readv): Define to strace_process_vm_readv.

Signed-off-by: Mike Frysinger <8f3f75c74bd5184edcfa6534cab3c13a00a2f794@gentoo.org>

gcode-mirror/strace-plus,TeamExodus/external_strace,AOSP-YU/platform_external_strace,vrastogi/strace,Distrotech/strace,Yu-AndroidM/android_external_strace,geekboxzone/mmallow_external_strace,vrastogi/strace,android-ia/platform_external_strace,Saruta/strace,lizh06/strace-plus,Yu-AndroidM/android_external_strace,gcode-mirror/strace-plus,pgbovine/strace-plus,MonkeyZZZZ/platform_external_strace,YUPlayGodDev/platform_external_strace,Infinitive-OS/platform_external_strace,geekboxzone/lollipop_external_strace,jamel/strace-plus,android-ia/platform_external_strace,geekboxzone/lollipop_external_strace,cuviper/strace,geekboxzone/mmallow_external_strace,cuviper/strace,Andrey9kin/revisor,android-ia/platform_external_strace,pgbovine/strace-plus,MonkeyZZZZ/platform_external_strace,cuviper/strace,lizh06/strace-plus,geekboxzone/mmallow_external_strace,kapdop/android_external_strace,TeamExodus/external_strace,YUPlayGodDev/platform_external_strace,Andrey9kin/revisor,AOSP-YU/platform_external_strace,lizh06/strace-plus,MonkeyZZZZ/platform_external_strace,bnoordhuis/strace,geekboxzone/lollipop_external_strace,TeamExodus/external_strace,AOSP-YU/platform_external_strace,YUPlayGodDev/platform_external_strace,AOSP-YU/platform_external_strace,Infinitive-OS/platform_external_strace,Saruta/strace,pgbovine/strace-plus,CyanogenMod/android_external_strace,xin3liang/platform_external_strace,lkundrak/strace,Infinitive-OS/platform_external_strace,lizh06/strace-plus,vrastogi/strace,kapdop/android_external_strace,MonkeyZZZZ/platform_external_strace,vrastogi/strace,Saruta/strace,lkundrak/strace,Distrotech/strace,cuviper/strace,geofft/strace,pgbovine/strace-plus,DirtyUnicorns/android_external_strace,CyanogenMod/android_external_strace,Andrey9kin/revisor,bigzz/strace_android,xin3liang/platform_external_strace,lkundrak/strace,lkundrak/strace,kapdop/android_external_strace,jamel/strace-plus,Saruta/strace,jamel/strace-plus,android-ia/platform_external_strace,MonkeyZZZZ/platform_external_strace,jamel/strace-plus,Yu-AndroidM/android_external_strace,DirtyUnicorns/android_external_strace,gcode-mirror/strace-plus,bigzz/strace_android,lizh06/strace-plus,Yu-AndroidM/android_external_strace,bigzz/strace_android,geofft/strace,Infinitive-OS/platform_external_strace,DirtyUnicorns/android_external_strace,kapdop/android_external_strace,kapdop/android_external_strace,bigzz/strace_android,TeamExodus/external_strace,Distrotech/strace,xin3liang/platform_external_strace,cuviper/strace,Distrotech/strace,xin3liang/platform_external_strace,YUPlayGodDev/platform_external_strace,Infinitive-OS/platform_external_strace,android-ia/platform_external_strace,YUPlayGodDev/platform_external_strace,Andrey9kin/revisor,Distrotech/strace,geekboxzone/lollipop_external_strace,bnoordhuis/strace,gcode-mirror/strace-plus,CyanogenMod/android_external_strace,vrastogi/strace,geekboxzone/mmallow_external_strace,DirtyUnicorns/android_external_strace,pombredanne/strace,gcode-mirror/strace-plus,jamel/strace-plus,AOSP-YU/platform_external_strace,CyanogenMod/android_external_strace,DirtyUnicorns/android_external_strace,geekboxzone/lollipop_external_strace,geekboxzone/mmallow_external_strace,geofft/strace,CyanogenMod/android_external_strace,pombredanne/strace,Yu-AndroidM/android_external_strace,geofft/strace,pombredanne/strace,pombredanne/strace,TeamExodus/external_strace,bnoordhuis/strace,bnoordhuis/strace,bigzz/strace_android,pgbovine/strace-plus,geofft/strace,Saruta/strace