Remove obsolete lint support.

This commit is contained in:
Warner Losh 2018-03-20 21:17:48 +00:00
parent 7a79ce2e38
commit 39e5f2b207

View File

@ -52,18 +52,5 @@
#define va_end(ap) __builtin_va_end(ap)
#endif
#if defined(lint) && !defined(va_start)
/*
* Provide a fake implementation for lint's benefit
* This very much assumes that __va_list ends up being a pointer
*/
#define va_start(ap, last) ((void)((ap) = (char *) (&(last)+1)))
#if __ISO_C_VISIBLE >= 1999
#define va_copy(dst, src) ((dst) = (src))
#endif
#define va_arg(ap, type) (*((type*)(((ap) += sizeof(type)) - sizeof(type))))
#define va_end(ap) ((void)0)
#endif
#endif /* ! _SYS__STDARG_H_ */