Removed a space symbol after an * symbol.
This commit is contained in:
parent
caa57721f7
commit
cd84aee61f
@ -4,7 +4,7 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
int main(const int argc, const char * const * const argv) {
|
||||
int main(const int argc, const char *const *const argv) {
|
||||
price_t price;
|
||||
wattage_t wattage;
|
||||
interval_t interval = 0;
|
||||
@ -23,8 +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)
|
||||
@ -47,7 +47,7 @@ int parse_arguments(const int argc, const char * const * const argv,
|
||||
return 0;
|
||||
}
|
||||
|
||||
inline interval_t interval_to_seconds(const char * const interval) {
|
||||
inline interval_t interval_to_seconds(const char *const interval) {
|
||||
interval_t intrvl = (interval_t)atol(interval);
|
||||
|
||||
switch (interval[strlen(interval) - 1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user