mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
Update leveldb subtree to latest master
This commit is contained in:
12
src/leveldb/.github/workflows/ci.yml
vendored
Normal file
12
src/leveldb/.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- run: cmake -B build -DBUILD_SHARED_LIBS=OFF
|
||||
- run: cmake --build build -j$(nproc)
|
||||
- run: ctest --test-dir build --output-on-failure -j$(nproc)
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <sqlite3.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "util/histogram.h"
|
||||
#include "util/random.h"
|
||||
|
||||
@@ -730,9 +730,9 @@ class PosixEnv : public Env {
|
||||
}
|
||||
|
||||
private:
|
||||
void BackgroundThreadMain();
|
||||
[[noreturn]] void BackgroundThreadMain();
|
||||
|
||||
static void BackgroundThreadEntryPoint(PosixEnv* env) {
|
||||
[[noreturn]] static void BackgroundThreadEntryPoint(PosixEnv* env) {
|
||||
env->BackgroundThreadMain();
|
||||
}
|
||||
|
||||
|
||||
@@ -675,9 +675,9 @@ class WindowsEnv : public Env {
|
||||
}
|
||||
|
||||
private:
|
||||
void BackgroundThreadMain();
|
||||
[[noreturn]] void BackgroundThreadMain();
|
||||
|
||||
static void BackgroundThreadEntryPoint(WindowsEnv* env) {
|
||||
[[noreturn]] static void BackgroundThreadEntryPoint(WindowsEnv* env) {
|
||||
env->BackgroundThreadMain();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user