From 69ff91861b8a6da83310ae53e67b098c6999cba9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 17 Sep 2023 22:47:17 +0400 Subject: [PATCH] Removed a space symbol after * symbol. Renamed price_to_wattspersecond to price_kwh_to_wattspersecond. --- src/main.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.h b/src/main.h index 6daa5ac..7a357f9 100644 --- a/src/main.h +++ b/src/main.h @@ -8,10 +8,10 @@ typedef long double wattage_t; typedef unsigned long interval_t; int parse_arguments(const int argc, const char *const *const argv, - price_t * const price, wattage_t * const wattage, interval_t * const interval); + price_t *const price, wattage_t *const wattage, interval_t *const interval); -inline interval_t interval_to_seconds(const char * const interval); -inline price_t price_to_wattspersecond(const price_t price); +inline interval_t interval_to_seconds(const char *const interval); +inline price_t price_kwh_to_wattspersecond(const price_t price); inline void print_version(); inline void print_usage();