Back to libsm overviewlibsm : C Language Portability Macros
$Id: cdefs.html,v 1.2 2000/12/07 17:33:09 dmoen Exp $Description
The header file <sm/cdefs.h> defines portable interfaces to non-portable features of various C compilers. It also assists you in writing C header files that are compatible with C++.
int foo __P((int));
SM_DEAD(void exit __P((int)));
SM_UNUSED(static const char Id[]) = "@(#)$Id: cdefs.html,v 1.2 2000/12/07 17:33:09 dmoen Exp $";
void
foo(x)
SM_UNUSED(int x);
{
SM_UNUSED(int y) = 0;
return 0;
}
void
bar(SM_UNUSED(int x))
{
return 0;
}