if __lint__ is defined, #define __builtin_saveregs() and
__builtin_classify_type() into harmless values, so that lint doesn't get confused, think they're real functions, and that they're being invoked in the wrong ways.
This commit is contained in:
parent
5678a13f1b
commit
0396cad668
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: stdarg.h,v 1.4 1996/10/09 21:13:05 cgd Exp $ */
|
||||
/* $NetBSD: stdarg.h,v 1.5 1996/12/22 08:57:23 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -40,6 +40,11 @@
|
||||
|
||||
#include <machine/ansi.h>
|
||||
|
||||
#ifdef __lint__
|
||||
#define __builtin_saveregs() (0)
|
||||
#define __builtin_classify_type(t) (0)
|
||||
#endif
|
||||
|
||||
typedef _BSD_VA_LIST_ va_list;
|
||||
|
||||
#define __va_size(type) \
|
||||
|
Loading…
Reference in New Issue
Block a user