diff options
author | LuK1337 <priv.luk@gmail.com> | 2017-08-31 23:03:23 +0200 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2017-09-01 00:56:14 +0200 |
commit | c49a567648db6c02d253b9474a7b1f242414cdd9 (patch) | |
tree | a22083aca0e4369e1bba0d077444b8ae644dc6b0 | |
parent | 3088421f7f979c908edd61cddd8c02410cea5d8c (diff) | |
download | android_external_bash-lineage-15.0.tar.gz android_external_bash-lineage-15.0.tar.bz2 android_external_bash-lineage-15.0.zip |
bash: Fix compilation error on Olineage-15.0
* error: redeclaration of 'strchr' must have the 'overloadable' attribute
Change-Id: Ic6b81628ce0d8424c78bf6c6d52f041a31af5df7
-rw-r--r-- | lib/readline/histlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/readline/histlib.h b/lib/readline/histlib.h index c938a10..eb2952d 100644 --- a/lib/readline/histlib.h +++ b/lib/readline/histlib.h @@ -52,7 +52,7 @@ #ifndef member # ifndef strchr -extern char *strchr (); +extern char *strchr () __overloadable; # endif #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0) #endif |