r890: removed "register" (#261)
This commit is contained in:
parent
83a8ee7038
commit
1b3a6a0fe5
2
chain.c
2
chain.c
|
|
@ -14,7 +14,7 @@ static const char LogTable256[256] = {
|
|||
|
||||
static inline int ilog2_32(uint32_t v)
|
||||
{
|
||||
register uint32_t t, tt;
|
||||
uint32_t t, tt;
|
||||
if ((tt = v>>16)) return (t = tt>>8) ? 24 + LogTable256[t] : 16 + LogTable256[tt];
|
||||
return (t = v>>8) ? 8 + LogTable256[t] : LogTable256[v];
|
||||
}
|
||||
|
|
|
|||
2
ksort.h
2
ksort.h
|
|
@ -37,7 +37,7 @@ typedef struct {
|
|||
int depth;
|
||||
} ks_isort_stack_t;
|
||||
|
||||
#define KSORT_SWAP(type_t, a, b) { register type_t t=(a); (a)=(b); (b)=t; }
|
||||
#define KSORT_SWAP(type_t, a, b) { type_t t=(a); (a)=(b); (b)=t; }
|
||||
|
||||
#define KSORT_INIT(name, type_t, __sort_lt) \
|
||||
void ks_heapdown_##name(size_t i, size_t n, type_t l[]) \
|
||||
|
|
|
|||
Loading…
Reference in New Issue