File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 99 *
1010 *
1111 * IDENTIFICATION
12- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.91 2001/03/25 17:52:46 tgl Exp $
12+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.92 2001/04/13 23:32:57 tgl Exp $
1313 *
1414 *-------------------------------------------------------------------------
1515 */
@@ -239,7 +239,7 @@ tas(volatile slock_t *lock)
239239static __inline__ int
240240tas (volatile slock_t * lock )
241241{
242- register _res ;
242+ register int _res ;
243243
244244 __asm__ __volatile__(
245245 " movl $1, r0 \n"
@@ -249,7 +249,7 @@ tas(volatile slock_t *lock)
249249: "=r" (_res )
250250: "r" (lock )
251251: "r0" );
252- return ( int ) _res ;
252+ return _res ;
253253}
254254
255255#endif /* NEED_VAX_TAS_ASM */
@@ -261,13 +261,13 @@ tas(volatile slock_t *lock)
261261static __inline__ int
262262tas (volatile slock_t * lock )
263263{
264- register _res ;
264+ register int _res ;
265265
266266 __asm__ __volatile__(
267267 " sbitb 0, %0 \n"
268268 " sfsd %1 \n"
269269: "=m" (* lock ), "=r" (_res ));
270- return ( int ) _res ;
270+ return _res ;
271271}
272272
273273#endif /* NEED_NS32K_TAS_ASM */
You can’t perform that action at this time.
0 commit comments