diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 18:14:42 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 18:14:42 +0200 |
commit | 9f46f4559625d62bd8d289e9ac75dc6369d7e7ed (patch) | |
tree | 4342a73e97ba98504a806645aea81de1336b862d /src | |
parent | Starting the main program, bus error somehow (diff) | |
download | lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.gz lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.bz2 lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.xz lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.tar.zst lowbat-bsd-9f46f4559625d62bd8d289e9ac75dc6369d7e7ed.zip |
Still bus error, it's not willing to print
Diffstat (limited to 'src')
-rw-r--r-- | src/jo_lowbat.c | 10 | ||||
-rw-r--r-- | src/jo_lowbat.h | 2 |
2 files changed, 2 insertions, 10 deletions
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 <jo_lowbat.h> #include <libnotify/notify.h> -/* -** 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); |