023cd79c6b
an assembly version of a function, add the right lint stub to the Makefile.inc which specifies the source to build the function (see the arch/i386/*/Makefile.inc). Can't just lint the normal C versions of these functions, because some of them don't _have_ normal C versions and if that were done dependencies would get messed up.
27 lines
389 B
C
27 lines
389 B
C
/* $NetBSD: Lint_syscall.c,v 1.1 1997/11/06 00:53:22 cgd Exp $ */
|
|
|
|
/*
|
|
* This file placed in the public domain.
|
|
* Chris Demetriou, November 5, 1997.
|
|
*/
|
|
|
|
#include <unistd.h>
|
|
#ifdef __STDC__
|
|
#include <stdarg.h>
|
|
#else
|
|
#include <varargs.h>
|
|
#endif
|
|
|
|
/*ARGSUSED*/
|
|
int
|
|
#ifdef __STDC__
|
|
syscall(int arg1, ...)
|
|
#else
|
|
syscall(arg1, va_alist)
|
|
int arg1;
|
|
va_dcl
|
|
#endif
|
|
{
|
|
return (0);
|
|
}
|