Skip to content

Commit

Permalink
Move sections.c to cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Sep 11, 2024
1 parent d9214f3 commit ef6d4ca
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 53 deletions.
2 changes: 1 addition & 1 deletion test/api/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
foreach(api_test_file hh_sim.cpp netcon.cpp sections.c vclamp.cpp)
foreach(api_test_file hh_sim.cpp netcon.cpp sections.cpp vclamp.cpp)
string(REPLACE "." "_" api_test_name "${api_test_file}")
add_executable(${api_test_name} ${api_test_file})
cpp_cc_configure_sanitizers(TARGET ${api_test_name})
Expand Down
51 changes: 0 additions & 51 deletions test/api/sections.c

This file was deleted.

2 changes: 1 addition & 1 deletion test/api/sections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <stdlib.h>
#include <assert.h>

extern "C" void modl_reg(){/* No modl_reg */};
extern "C" void modl_reg(){};

int main(void) {
static const char* argv[] = {"sections", "-nogui", "-nopython", NULL};
Expand Down

0 comments on commit ef6d4ca

Please sign in to comment.