Make sure codebase is C90.
This commit is contained in:
parent
4e7632f3c0
commit
71b32a6b08
|
@ -6,10 +6,14 @@ endif(TARGET regex)
|
|||
|
||||
project(libregex)
|
||||
|
||||
add_compile_options(-pedantic -Wall)
|
||||
|
||||
add_library(regex STATIC src/libregex.c)
|
||||
add_executable(libregex src/main.c)
|
||||
add_subdirectory(external/libds)
|
||||
|
||||
set_property(TARGET regex PROPERTY C_STANDARD 90)
|
||||
set_property(TARGET libregex PROPERTY C_STANDARD 90)
|
||||
target_include_directories(regex PUBLIC include)
|
||||
target_include_directories(libregex PUBLIC include)
|
||||
|
||||
|
|
|
@ -326,3 +326,4 @@ libregex_result regex_match_string(regex_node* root, char* string, regex_result*
|
|||
void regex_result_free(regex_result* result);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -598,3 +598,4 @@ void regex_result_free(regex_result* result){
|
|||
}
|
||||
result->matches = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user