1
0
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:
源文雨
2024-04-06 14:38:04 +09:00
parent 5219ed7f26
commit 3704467871
6 changed files with 23 additions and 33 deletions

View File

@@ -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);