svn commit: trunk/uClibc/libpthread: linuxthreads/sysdeps/sh linuxthreads.old etc...
carmelo at uclibc.org
carmelo at uclibc.org
Wed May 7 06:50:31 UTC 2008
Author: carmelo
Date: 2008-05-06 23:50:30 -0700 (Tue, 06 May 2008)
New Revision: 21940
Log:
Remove gcc warning due to missing prototype for 'testandset'
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
Modified:
trunk/uClibc/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h
trunk/uClibc/libpthread/linuxthreads/sysdeps/sh/pt-machine.h
Changeset:
Modified: trunk/uClibc/libpthread/linuxthreads/sysdeps/sh/pt-machine.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads/sysdeps/sh/pt-machine.h 2008-05-06 19:11:41 UTC (rev 21939)
+++ trunk/uClibc/libpthread/linuxthreads/sysdeps/sh/pt-machine.h 2008-05-07 06:50:30 UTC (rev 21940)
@@ -29,6 +29,8 @@
# define PT_EI __extern_always_inline
#endif
+extern long int testandset (int *spinlock);
+
/* Spinlock implementation; required. */
PT_EI long int
testandset (int *spinlock)
Modified: trunk/uClibc/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h 2008-05-06 19:11:41 UTC (rev 21939)
+++ trunk/uClibc/libpthread/linuxthreads.old/sysdeps/sh/pt-machine.h 2008-05-07 06:50:30 UTC (rev 21940)
@@ -29,6 +29,8 @@
# define PT_EI __extern_always_inline
#endif
+extern long int testandset (int *spinlock);
+
/* Spinlock implementation; required. */
PT_EI long int
testandset (int *spinlock)
More information about the uClibc-cvs
mailing list