GCC 3.3 doesn't support #pragma weak A=B, when A is defined. This patch
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 23 Jan 2004 11:30:28 +0000 (11:30 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 23 Jan 2004 11:30:28 +0000 (11:30 +0000)
commitf511163d4eef98c5f674e576377f8d61406ea3a1
treecc65f9ee85c814b9193c6df90f19be889f35c217
parent691b90499fa7705abbf75548674c338200ebd1ab
GCC 3.3 doesn't support #pragma weak A=B, when A is defined. This patch
adds correct prototyps for those symbols and allows gcc3 to compile libc.

Thanks to buggs for pointing to right GCC PR.
lib/libc/gen/_spinlock_stub.c
lib/libc/stdio/_flock_stub.c
lib/libc/sys/__error.c
lib/libc_r/uthread/uthread_file.c
lib/libcr/gen/_spinlock_stub.c
lib/libcr/stdio/_flock_stub.c
lib/libcr/sys/__error.c