apps: fix style issues in code

Add missing FAR and CODE to pointers
Remove FAR for non-pointer variables
Remove extra spaces and align the parameters
Add do {} while(0) wrapper in macro
Use nitems to calculate number of elements in arrays

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-06-10 19:44:11 +03:00 committed by Xiang Xiao
parent f4d3e549b6
commit aed0e2873e
35 changed files with 615 additions and 514 deletions

View file

@ -65,7 +65,7 @@
#include <arpa/inet.h>
#ifdef CONFIG_FTPD_LOGIN_PASSWD
#include "fsutils/passwd.h"
# include "fsutils/passwd.h"
#endif
#include "netutils/ftpd.h"