]> Kevux Git Server - fll/commit
Cleanup: replace argc and argv usage with a single structure of argc and argv (f_cons...
authorKevin Day <thekevinday@gmail.com>
Sun, 8 Sep 2019 21:46:27 +0000 (16:46 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 8 Sep 2019 21:49:02 +0000 (16:49 -0500)
commit61a70352d8eef60031c892308dedf4943d3b89da
treeb9e019dba92bdef609d8bbeb52b54a3758a51837
parent4b9f5ff1b3c93aeca443f448275f865c02301c47
Cleanup: replace argc and argv usage with a single structure of argc and argv (f_console_arguments)

Simplify the parameters being passed to functions by providing a helper structure called f_console_arguments to handle the argc and argv standard arguments.
Due to being standard arguments, I am leaving the names as 'argc' and 'argv' despite it being a violation of the naming policy of this project.
('argc' should be something like 'used', and 'argv' should be 'arguments'.)

The firewall had a naming conflict, so rename the usage of "arguments" in firewall into "parameters".
38 files changed:
level_0/f_console/c/console.h
level_1/fl_console/c/console.c
level_1/fl_console/c/console.h
level_2/fll_program/c/program.c
level_2/fll_program/c/program.h
level_3/bit_dump/c/bit_dump.c
level_3/bit_dump/c/bit_dump.h
level_3/bit_dump/c/main.c
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/firewall/c/main.c
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_read/c/main.c
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/fss_basic_list_write.h
level_3/fss_basic_list_write/c/main.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_read/c/main.c
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/fss_basic_write.h
level_3/fss_basic_write/c/main.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_read/c/main.c
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/fss_extended_write.h
level_3/fss_extended_write/c/main.c
level_3/fss_status_code/c/fss_status_code.c
level_3/fss_status_code/c/fss_status_code.h
level_3/fss_status_code/c/main.c
level_3/init/c/init.c
level_3/init/c/init.h
level_3/init/c/main.c
level_3/status_code/c/main.c
level_3/status_code/c/status_code.c
level_3/status_code/c/status_code.h