Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 17:45:38 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329127 - head/sys/sys
Message-ID:  <201802111745.w1BHjcWA050692@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sun Feb 11 17:45:38 2018
New Revision: 329127
URL: https://svnweb.freebsd.org/changeset/base/329127

Log:
  Consistent macro indentation is the hobgoblin of small minds
  
  Line up the macro definitions and names here like the machine/stdarg.h
  files that this replaced. This is easier to read and also makes it
  easier to match up with other includes. Also two space indent va_end
  to match the rest of the surrounding if block.

Modified:
  head/sys/sys/_stdarg.h

Modified: head/sys/sys/_stdarg.h
==============================================================================
--- head/sys/sys/_stdarg.h	Sun Feb 11 16:35:56 2018	(r329126)
+++ head/sys/sys/_stdarg.h	Sun Feb 11 17:45:38 2018	(r329127)
@@ -43,13 +43,13 @@
 #endif
 
 #ifdef __GNUCLIKE_BUILTIN_STDARG
-  #define va_start(ap, last) __builtin_va_start((ap), (last))
-  #define va_arg(ap, type) __builtin_va_arg((ap), type)
-  #define __va_copy(dest, src) __builtin_va_copy((dest), (src))
+  #define	va_start(ap, last)	__builtin_va_start((ap), (last))
+  #define	va_arg(ap, type)	__builtin_va_arg((ap), type)
+  #define	__va_copy(dest, src)	__builtin_va_copy((dest), (src))
   #if __ISO_C_VISIBLE >= 1999
-    #define va_copy(dest, src) __va_copy(dest, src)
+    #define	va_copy(dest, src)	__va_copy(dest, src)
   #endif
-#define va_end(ap) __builtin_va_end(ap)
+  #define	va_end(ap)		__builtin_va_end(ap)
 #endif
 
 #if defined(lint) && !defined(va_start)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802111745.w1BHjcWA050692>