1 |
< |
/* Copyright (c) 1995 Regents of the University of California */ |
1 |
> |
/* Copyright (c) 1996 Regents of the University of California */ |
2 |
|
|
3 |
|
#ifndef lint |
4 |
|
static char SCCSid[] = "$SunId$ LBL"; |
572 |
|
alatcmp(avp1, avp2) /* compare ambient values for MRA */ |
573 |
|
AMBVAL **avp1, **avp2; |
574 |
|
{ |
575 |
< |
return((**avp2).latick - (**avp1).latick); |
575 |
> |
register long lc = (**avp2).latick - (**avp1).latick; |
576 |
> |
return(lc<0 ? -1 : lc>0 ? 1 : 0); |
577 |
|
} |
578 |
|
|
579 |
|
|
585 |
|
} |
586 |
|
|
587 |
|
|
588 |
< |
#ifdef DEBUG |
588 |
> |
#if 1 |
589 |
|
static int |
590 |
|
avlmemi(avaddr) /* find list position from address */ |
591 |
|
AMBVAL *avaddr; |