pi_clock

Crude and unpolished clock for Raspberry Pi
git clone https://git.e1e0.net/pi_clock.git
Log | Files | Refs | README | LICENSE

commit c60d352bcc969cc6e26c73c2f2d8ce6a725e8dae
parent 92b313acfc2d478e810e2c71b66f8227500b7f55
Author: Paco Esteban <paco@e1e0.net>
Date:   Fri,  3 Jul 2020 18:15:19 +0200

version is define now

Diffstat:
Mclock.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/clock.c b/clock.c @@ -34,7 +34,7 @@ #define DEF_BL_BEFORE 0 #define DEF_BL_AFTER 7 -const char *version = "v0.4.0"; +#define PIC_VERSION "v0.4.0" void setmonth(char *, int); void setwday(char *, int); @@ -91,7 +91,7 @@ main(int argc, char *argv[]) } if (vflag) { - (void)fprintf(stderr, "%s\n", version); + fprintf(stderr, "clock %s\n", PIC_VERSION); return 0; }