diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca588d4..ab53330 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: strategy: matrix: cxx: [g++, clang++] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest env: CXX: ${{ matrix.cxx }} steps: diff --git a/CMakeLists.txt b/CMakeLists.txt index 65aca7f..5ef86de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(copycat) set(LIB_TARGET "${PROJECT_NAME}") set(BIN_TARGET "${PROJECT_NAME}-bin") -set(CMAKE_C_STANDARD 11) +set(CMAKE_C_STANDARD 23) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS OFF) diff --git a/src/bin/seccomp/seccomp_exec.c b/src/bin/seccomp/seccomp_exec.c index af96866..80c6a1a 100644 --- a/src/bin/seccomp/seccomp_exec.c +++ b/src/bin/seccomp/seccomp_exec.c @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include diff --git a/src/lib/copycat.h b/src/lib/copycat.h index c9356c3..9bfc07e 100644 --- a/src/lib/copycat.h +++ b/src/lib/copycat.h @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include