r890: removed "register" (#261)

This commit is contained in:
Heng Li 2018-11-19 13:57:31 -05:00
parent 83a8ee7038
commit 1b3a6a0fe5
3 changed files with 3 additions and 3 deletions

View File

@ -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];
}

View File

@ -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[]) \

2
main.c
View File

@ -6,7 +6,7 @@
#include "mmpriv.h"
#include "ketopt.h"
#define MM_VERSION "2.14-r888-dirty"
#define MM_VERSION "2.14-r890-dirty"
#ifdef __linux__
#include <sys/resource.h>