svn commit: r329127 - head/sys/sys
Warner Losh
imp at FreeBSD.org
Sun Feb 11 17:45:39 UTC 2018
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)
More information about the svn-src-all
mailing list