diff --git a/src/blc_command.cpp b/src/blc_command.cpp index 9fd6e79133684cfc90f9ff492c89cff947127657..a96a5eb14c0f142eb27f22c41bbf11fc57dee048 100644 --- a/src/blc_command.cpp +++ b/src/blc_command.cpp @@ -13,6 +13,7 @@  and, more generally, to use and operate it in the same conditions as regards security.  The fact that you are presently reading this means that you have had knowledge of the CeCILL v2.1 license and that you accept its terms. */ +#include <stdio.h> #include "blc_command.h" #include "blc_realtime.h" //us_ diff --git a/t_interactive/t_interactive.cpp b/t_interactive/t_interactive.cpp index 1ea4eec092acdee7e09295a6f5ec0e81e64ea895..6590456313d7b3fe640ba81cf85cf939a1994053 100644 --- a/t_interactive/t_interactive.cpp +++ b/t_interactive/t_interactive.cpp @@ -15,7 +15,7 @@ void display_argument(char const* argument, void*user_data){ int main( int argc, char **argv){ char const*data_to_pass="Here the text to display"; - fprintf(stderr, "Test BLC_COMMAND_LOOP\n"); + fprintf(stderr, "Test BLC_COMMAND_LOOP for interactive actions with the terminal\n"); blc_command_add("t", display_test_text, NULL, "Call a function which display the test text", (void*)data_to_pass); blc_command_add("a", display_argument, "argument to display", "Call a function which display the text passed as argument", NULL); @@ -26,7 +26,7 @@ int main( int argc, char **argv){ //>=0 loop without blocking at the period given in µs (0 as fast as possible) BLC_COMMAND_LOOP(-2){ - blc_command_display_help(); + blc_command_display_help(); //Display the help on the list of command } return EXIT_SUCCESS; }