diff options
author | Tom Marshall <tdm.code@gmail.com> | 2018-03-06 23:28:59 +0100 |
---|---|---|
committer | Tom Marshall <tdm.code@gmail.com> | 2018-03-06 23:28:59 +0100 |
commit | cfe7878b590cacb3e28085a10db8cc68dcc26636 (patch) | |
tree | ce54521f5dae6bf6f8dfcf51becc5da3de48d5c7 | |
parent | a4bf73261a7cac2bdd32e915b53449e82f86f288 (diff) | |
download | android_external_one-true-awk-cfe7878b590cacb3e28085a10db8cc68dcc26636.tar.gz android_external_one-true-awk-cfe7878b590cacb3e28085a10db8cc68dcc26636.tar.bz2 android_external_one-true-awk-cfe7878b590cacb3e28085a10db8cc68dcc26636.zip |
awk: Add libawk_main for recovery and fixup symbolslineage-15.1
Change-Id: I9d7c1c224db05ae523b081b82a588d5e7ac0bf6d
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | proto.h | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -41,3 +41,9 @@ cc_binary { stem: "awk", vendor: true, } + +cc_library_static { + name: "libawk_main", + defaults: ["awk-defaults"], + cflags: ["-Dmain=awk_main"], +} @@ -22,6 +22,12 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ****************************************************************/ +#define execute awk_execute +#define yyerror awk_yyerror +#define yylex awk_yylex +#define tfree awk_tfree +#define hash awk_hash + extern int yywrap(void); extern void setfname(Cell *); extern int constnode(Node *); |