bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

commit 2028dde6283904c9bf1c38e6e574113c47043dcf
parent 607c4d562178f4aecee008012e9e83871d2a4f5c
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  1 Feb 2024 10:36:04 -0800

build: fix build on macos

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mbcalc.c | 2++
Mparser.y | 3+++
2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/bcalc.c b/bcalc.c @@ -5,6 +5,8 @@ #include "commander/commander.h" #include "num.h" +extern int yy_scan_string(const char *str); +extern void yy_delete_buffer(int); extern int yylex(); extern int yyparse(); extern enum unit g_output_format; diff --git a/parser.y b/parser.y @@ -8,6 +8,9 @@ enum unit g_output_format; int g_print_unit; +int yylex(void); +int yyerror(char* s); + %} %union {