From 9f46f4559625d62bd8d289e9ac75dc6369d7e7ed Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 17 Apr 2020 18:14:42 +0200 Subject: Still bus error, it's not willing to print --- src/jo_lowbat.c | 10 +--------- src/jo_lowbat.h | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/jo_lowbat.c b/src/jo_lowbat.c index b6ee68c..1963b26 100644 --- a/src/jo_lowbat.c +++ b/src/jo_lowbat.c @@ -13,18 +13,10 @@ #include #include -/* -** Files prefixes -** -------------- -** f: fetch -** n: notify -** r: run -*/ - int main( int argc, - char *argv[] + const char *argv[] ) { return (jo_r_lowbat(argc, argv)); diff --git a/src/jo_lowbat.h b/src/jo_lowbat.h index c4f3c37..b19fa28 100644 --- a/src/jo_lowbat.h +++ b/src/jo_lowbat.h @@ -29,7 +29,7 @@ enum int8_t jo_r_lowbat( int, - char** + const char** ); int8_t jo_f_status(void); int8_t jo_f_percent(void); -- cgit v1.2.3