OSDN Git Service

Fix redefinition of ioperm and iopl in stubs.c and arm/{ioperm.c,iopl.c}
authorJason Woodward <jason.woodward@timesys.com>
Wed, 8 Feb 2012 00:07:57 +0000 (19:07 -0500)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 26 Mar 2012 08:30:38 +0000 (10:30 +0200)
commit3bcd031f97d61a8f732d865a0f4248aed2d191ab
tree074a442110b32eefdc6fe861419d852af03357e0
parent77937735ab0b3cc45c02cce1a4e4b57acbb344cc
Fix redefinition of ioperm and iopl in stubs.c and arm/{ioperm.c,iopl.c}

This fixes the following link failure:

  LD libuClibc-0.9.33.so
libc/libc_so.a(stubs.os): In function `sync_file_range':
stubs.c:(.text+0x0): multiple definition of `ioperm'
libc/libc_so.a(ioperm.os):ioperm.c:(.text+0x260): first defined here
libc/libc_so.a(stubs.os): In function `sync_file_range':
stubs.c:(.text+0x0): multiple definition of `iopl'
libc/libc_so.a(iopl.os):iopl.c:(.text+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [lib/libc.so] Error 1

Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/arm/ioperm.c
libc/sysdeps/linux/arm/iopl.c