Skip to content

Commit 63bfc7b

Browse files
Fix function signature
1 parent 27f3d91 commit 63bfc7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tests/config.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ enum WriteConfigStatus : uint8_t {
1717
GET_DATA_LOCAL_FAILED,
1818
};
1919

20-
extern "C" const char *raw_local_data();
21-
extern "C" void raw_free_c_str(const char *str);
20+
extern "C" char *raw_local_data();
21+
extern "C" void raw_free_c_str(char *str);
2222
extern "C" WriteConfigStatus raw_write_default_config();
2323

2424
void gen_config_test() {

0 commit comments

Comments
 (0)