diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2018-09-20 19:45:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 19:45:41 +0300 |
commit | 2b14e31befc080c7c65fd4c53ed22852f28796de (patch) | |
tree | 1d0e4fcaf7baa5644d09e80d729a530ecf4a18c6 /src/eval.h | |
parent | 35caecc3ba869d7b958a9e1ae6f1799665e7da32 (diff) |
daemon cleanup (#4231)
* c code cleanup; eliminate all errors and warning under clion
* removed old server API
* removed obsolete "file" API command
* included common.h everywhere
* fix for github syntax highlighting
* enable CLion to build all netdata binaries
* added locks verification to cmake
Diffstat (limited to 'src/eval.h')
-rw-r--r-- | src/eval.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eval.h b/src/eval.h index b869d5b4d6..2810685194 100644 --- a/src/eval.h +++ b/src/eval.h @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-3.0+ + #ifndef NETDATA_EVAL_H -#define NETDATA_EVAL_H +#define NETDATA_EVAL_H 1 #define EVAL_MAX_VARIABLE_NAME_LENGTH 300 @@ -60,7 +61,7 @@ typedef struct eval_expression { extern EVAL_EXPRESSION *expression_parse(const char *string, const char **failed_at, int *error); // free all resources allocated for an expression -extern void expression_free(EVAL_EXPRESSION *op); +extern void expression_free(EVAL_EXPRESSION *expression); // convert an error code to a message extern const char *expression_strerror(int error); |