Author: imp
Date: Tue Mar 20 21:17:48 2018
New Revision: 331265
URL: https://svnweb.freebsd.org/changeset/base/331265

Log:
  Remove obsolete lint support.

Modified:
  head/sys/sys/_stdarg.h

Modified: head/sys/sys/_stdarg.h
==============================================================================
--- head/sys/sys/_stdarg.h      Tue Mar 20 21:16:26 2018        (r331264)
+++ head/sys/sys/_stdarg.h      Tue Mar 20 21:17:48 2018        (r331265)
@@ -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_ */
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to