diff options
author | Tao Bao <tbao@google.com> | 2015-08-21 20:31:29 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-08-21 20:31:29 +0200 |
commit | 459a51739d9c3f9699193965e3cf11968ae3a20f (patch) | |
tree | 77158f2bcd0f4f814667390954cde6c160417110 /edify/expr.h | |
parent | am e57ca0ec: am 4854e292: am ad509fd4: Merge "Fix potential crash" (diff) | |
parent | am dbbdcf3f: am 93fa4b67: Merge "edify: Switch to C++." (diff) | |
download | android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar.gz android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar.bz2 android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar.lz android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar.xz android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.tar.zst android_bootable_recovery-459a51739d9c3f9699193965e3cf11968ae3a20f.zip |
Diffstat (limited to 'edify/expr.h')
-rw-r--r-- | edify/expr.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/edify/expr.h b/edify/expr.h index a9ed2f9c5..36f8e9612 100644 --- a/edify/expr.h +++ b/edify/expr.h @@ -21,10 +21,6 @@ #include "yydefs.h" -#ifdef __cplusplus -extern "C" { -#endif - #define MAX_STRING_LEN 1024 typedef struct Expr Expr; @@ -59,7 +55,7 @@ typedef Value* (*Function)(const char* name, State* state, struct Expr { Function fn; - char* name; + const char* name; int argc; Expr** argv; int start, end; @@ -166,8 +162,4 @@ void FreeValue(Value* v); int parse_string(const char* str, Expr** root, int* error_count); -#ifdef __cplusplus -} // extern "C" -#endif - #endif // _EXPRESSION_H |