mirror of
https://github.com/fumiama/base16384.git
synced 2026-06-11 23:00:24 +08:00
chore: optimize statements
This commit is contained in:
@@ -27,11 +27,11 @@
|
||||
#endif
|
||||
#include "base16384.h"
|
||||
|
||||
char encbuf[BASE16384_ENCBUFSZ];
|
||||
char decbuf[BASE16384_DECBUFSZ];
|
||||
static char encbuf[BASE16384_ENCBUFSZ];
|
||||
static char decbuf[BASE16384_DECBUFSZ];
|
||||
|
||||
#ifndef _WIN32
|
||||
unsigned long get_start_ms() {
|
||||
static unsigned long get_start_ms() {
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
return (ts.tv_sec * 1000 + ts.tv_nsec / 1000000);
|
||||
|
||||
Reference in New Issue
Block a user