diff --git a/src/main.c b/src/main.c index 63daeac..e4c4b10 100644 --- a/src/main.c +++ b/src/main.c @@ -23,7 +23,8 @@ int main(const int argc, const char * const * const argv) { return 0; } -int parse_arguments(const int argc, const char *const *const argv, price_t *const price, wattage_t *const wattage, interval_t *const interval) { +int parse_arguments(const int argc, const char * const * const argv, + price_t * const price, wattage_t * const wattage, interval_t * const interval) { if (argc < 2) return 1; for (int i = 1, pos = 0; i < argc; ++i) diff --git a/src/main.h b/src/main.h index 4d06567..d987387 100644 --- a/src/main.h +++ b/src/main.h @@ -7,7 +7,8 @@ typedef long double price_t; 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); +int parse_arguments(const int argc, const char *const *const argv, + 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 to_wattspersecond(const price_t price);