What is the constant LINT_ARGS in C programming? I have seen it in C programs like
#ifdef LINT_ARGS
//bla bla bla
It is also mentioned here.
I am a beginner so please keep your answer simple.
What is the constant LINT_ARGS in C programming? I have seen it in C programs like
#ifdef LINT_ARGS
//bla bla bla
It is also mentioned here.
I am a beginner so please keep your answer simple.
LINT_ARG is a macro used to put a check if user want to validate the function prototype mostly in Microsoft C.
So if this macro is not defined then compiler may fire a warning/error of function not found or like wise. But after the MSC version 4 it is enabled by default.
See below usage example:
/*
* Prototypes for local functions:
*/
#ifdef LINT_ARGS
static u16 MTU_alloc_dlg_id(u16 *dlg_id);
static u8 MTU_alloc_invoke_id(void);
#endif