]> Kevux Git Server - fll/commit
Cleanup: f_color, fl_color, and related
authorKevin Day <thekevinday@gmail.com>
Fri, 30 Aug 2019 01:10:01 +0000 (20:10 -0500)
committerKevin Day <thekevinday@gmail.com>
Fri, 30 Aug 2019 01:24:19 +0000 (20:24 -0500)
commitd84224ce09fedfb75676af97962d48f1a743454d
treeae48152710ce551be8c798bb8a6136c5514c5b6d
parent165502c1ea9d18079bdcf0fc1867e2b20480ee2e
Cleanup: f_color, fl_color, and related

In particular, some of the color print functions are not following the naming convention.
The function fl_print_color() should instead be fl_color_print().

Make sure appropriate #define statements have macro in their name.

Add some @fixme comments because f_dynamic_string is designed with the intentions of not being NULL terminated.
Directly using it with standard functions like fprint is dangerous.
17 files changed:
level_0/f_print/c/print.c
level_1/fl_colors/c/colors.c
level_1/fl_colors/c/colors.h
level_2/fll_colors/c/colors.c
level_3/firewall/c/firewall.c
level_3/firewall/c/private-firewall.c
level_3/firewall/c/private-firewall.h
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_status_code/c/fss_status_code.c
level_3/init/c/init.c
level_3/init/c/private-init.c
level_3/status_code/c/status_code.c