From owner-svn-src-head@freebsd.org Sun Feb 11 17:45:39 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72BD5F08CBD; Sun, 11 Feb 2018 17:45:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 21D0682623; Sun, 11 Feb 2018 17:45:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1CD05261DB; Sun, 11 Feb 2018 17:45:39 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1BHjcwW050693; Sun, 11 Feb 2018 17:45:38 GMT (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1BHjcWA050692; Sun, 11 Feb 2018 17:45:38 GMT (envelope-from imp@FreeBSD.org) Message-Id: <201802111745.w1BHjcWA050692@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: imp set sender to imp@FreeBSD.org using -f From: Warner Losh Date: Sun, 11 Feb 2018 17:45:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329127 - head/sys/sys X-SVN-Group: head X-SVN-Commit-Author: imp X-SVN-Commit-Paths: head/sys/sys X-SVN-Commit-Revision: 329127 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 17:45:39 -0000 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)