aboutsummaryrefslogtreecommitdiff
path: root/src/proj.h
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-04-19 09:53:35 -0700
committerKurt Schwehr <schwehr@google.com>2018-04-19 09:53:35 -0700
commit65d335589b381f9e7b79a1869f74389c3ff59ae5 (patch)
tree2c20b557ddd84bfe8644aa8a3726d3336767b8cb /src/proj.h
parentfbe1df3ccbc7468db1c635e98b323d28f5b82b60 (diff)
downloadPROJ-65d335589b381f9e7b79a1869f74389c3ff59ae5.tar.gz
PROJ-65d335589b381f9e7b79a1869f74389c3ff59ae5.zip
Rename level -> log_level for proj_log_level to match function definition
Found on https://github.com/OSGeo/proj.4/commit/2f082b70cbdafdea49bb123e027406089e7ad65b http://clang.llvm.org/extra/clang-tidy/checks/readability-inconsistent-declaration-parameter-name.html function 'proj_log_level' has a definition with different parameter names src/pj_internal.c:374:14: the definition seen here src/proj.h:364:14: differing parameters are named here: ('level'), in definition: ('log_level')
Diffstat (limited to 'src/proj.h')
-rw-r--r--src/proj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj.h b/src/proj.h
index 3d64ed1a..d254eade 100644
--- a/src/proj.h
+++ b/src/proj.h
@@ -361,7 +361,7 @@ int proj_errno_reset (const PJ *P);
int proj_errno_restore (const PJ *P, int err);
const char* proj_errno_string (int err);
-PJ_LOG_LEVEL proj_log_level (PJ_CONTEXT *ctx, PJ_LOG_LEVEL level);
+PJ_LOG_LEVEL proj_log_level (PJ_CONTEXT *ctx, PJ_LOG_LEVEL log_level);
void proj_log_func (PJ_CONTEXT *ctx, void *app_data, PJ_LOG_FUNCTION logf);
/* Scaling and angular distortion factors */