You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to compile a function using checkedC, however, i keep getting the missing prototype error.
/home/arslan/zephyrproject/zephyr/samples/hello_world/src/main.c:13:1: error: function without a prototype cannot be used or declared in a checked scope
static void getCommand();
^
/home/arslan/zephyrproject/zephyr/samples/hello_world/src/main.c:15:1: error: function without a prototype cannot be used or declared in a checked scope
static void getCommand() {
^
On some digging, adding a void parameter to the function argument fixed the problem. I am wondering if the error message is accurate here, or am i missing something?
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to compile a function using checkedC, however, i keep getting the missing prototype error.
On some digging, adding a void parameter to the function argument fixed the problem. I am wondering if the error message is accurate here, or am i missing something?
The text was updated successfully, but these errors were encountered: