From 39e5f2b207e503c698fcddfba36ee91e985a30bc Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 20 Mar 2018 21:17:48 +0000 Subject: [PATCH] Remove obsolete lint support. --- sys/sys/_stdarg.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sys/sys/_stdarg.h b/sys/sys/_stdarg.h index 396c888070f..7df50354362 100644 --- a/sys/sys/_stdarg.h +++ b/sys/sys/_stdarg.h @@ -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_ */