is not a complete declaration.
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.91 2001/03/25 17:52:46 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.92 2001/04/13 23:32:57 tgl Exp $
*
*-------------------------------------------------------------------------
*/
static __inline__ int
tas(volatile slock_t *lock)
{
- register _res;
+ register int _res;
__asm__ __volatile__(
" movl $1, r0 \n"
: "=r"(_res)
: "r"(lock)
: "r0");
- return (int) _res;
+ return _res;
}
#endif /* NEED_VAX_TAS_ASM */
static __inline__ int
tas(volatile slock_t *lock)
{
- register _res;
+ register int _res;
__asm__ __volatile__(
" sbitb 0, %0 \n"
" sfsd %1 \n"
: "=m"(*lock), "=r"(_res));
- return (int) _res;
+ return _res;
}
#endif /* NEED_NS32K_TAS_ASM */