Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
fix inconsistent naming and bump version (twitter#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingfish authored Jan 17, 2019
1 parent 4acc53a commit 05eb03e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ endif()

# version info
set(${PROJECT_NAME}_VERSION_MAJOR 2)
set(${PROJECT_NAME}_VERSION_MINOR 0)
set(${PROJECT_NAME}_VERSION_MINOR 1)
set(${PROJECT_NAME}_VERSION_PATCH 0)
set(${PROJECT_NAME}_VERSION
${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}
Expand Down
4 changes: 2 additions & 2 deletions include/cc_stats_log.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ extern "C" {
#define STATS_LOG_NBUF 0 /* default log buf size */

/* name type default description */
#define STATSLOG_OPTION(ACTION) \
#define STATS_LOG_OPTION(ACTION) \
ACTION( stats_log_file, OPTION_TYPE_STR, NULL, "file storing stats" )\
ACTION( stats_log_nbuf, OPTION_TYPE_UINT, STATS_LOG_NBUF, "stats log buf size" )

typedef struct {
STATSLOG_OPTION(OPTION_DECLARE)
STATS_LOG_OPTION(OPTION_DECLARE)
} stats_log_options_st;


Expand Down
2 changes: 1 addition & 1 deletion rust/cc_binding/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fn get_cmake_cache_value(binary_dir: &Path, key: &str) -> Result<Option<String>>
}

fn main() {
println!("cargo:rustc-link-lib=static=ccommon-2.0.0");
println!("cargo:rustc-link-lib=static=ccommon-2.1.0");
if cfg!(target_os = "macos") {
println!("cargo:rustc-link-lib=framework=Security");
}
Expand Down

0 comments on commit 05eb03e

Please sign in to comment.