From patchwork Thu Jun 26 06:03:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 364255 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 78D7314008B for ; Thu, 26 Jun 2014 16:04:16 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E9FF887F24; Thu, 26 Jun 2014 06:04:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XlDT3w1aWOCS; Thu, 26 Jun 2014 06:04:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4500185AF8; Thu, 26 Jun 2014 06:04:13 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 670F11C21EA for ; Thu, 26 Jun 2014 06:04:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6300E85AF8 for ; Thu, 26 Jun 2014 06:04:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u0DA7rxSG2VL for ; Thu, 26 Jun 2014 06:04:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.synopsys.com (smtprelay.synopsys.com [198.182.44.111]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 154BB85527 for ; Thu, 26 Jun 2014 06:04:09 +0000 (UTC) Received: from us01secmta2.synopsys.com (us01secmta2.synopsys.com [10.9.203.102]) by smtprelay.synopsys.com (Postfix) with ESMTP id 726A324E0153; Wed, 25 Jun 2014 23:04:09 -0700 (PDT) Received: from us01secmta2.internal.synopsys.com (us01secmta2.internal.synopsys.com [127.0.0.1]) by us01secmta2.internal.synopsys.com (Service) with ESMTP id 52E0BA4112; Wed, 25 Jun 2014 23:04:09 -0700 (PDT) Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.9.202.240]) by us01secmta2.internal.synopsys.com (Service) with ESMTP id 329C5A4102; Wed, 25 Jun 2014 23:04:09 -0700 (PDT) Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id 264C9763; Wed, 25 Jun 2014 23:04:09 -0700 (PDT) Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 024C4762; Wed, 25 Jun 2014 23:04:09 -0700 (PDT) Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.158.1; Wed, 25 Jun 2014 23:04:08 -0700 Received: from vg-E6520.internal.synopsys.com (10.12.196.93) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 26 Jun 2014 11:34:03 +0530 From: Vineet Gupta To: Subject: [PATCH 1/6] syscalls-common.h: Rename some macro args for correct documentation Date: Thu, 26 Jun 2014 11:33:30 +0530 Message-ID: <1403762615-25145-2-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1403762615-25145-1-git-send-email-vgupta@synopsys.com> References: <1403762615-25145-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 X-Originating-IP: [10.12.196.93] Cc: Vineet Gupta , Francois Bedard X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: uclibc-bounces@uclibc.org Signed-off-by: Vineet Gupta Cc: Mike Frysinger Cc: Denys Vlasenko --- libc/sysdeps/linux/common/bits/syscalls-common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libc/sysdeps/linux/common/bits/syscalls-common.h b/libc/sysdeps/linux/common/bits/syscalls-common.h index 0f5a92990f05..86fe26c508c5 100644 --- a/libc/sysdeps/linux/common/bits/syscalls-common.h +++ b/libc/sysdeps/linux/common/bits/syscalls-common.h @@ -39,13 +39,13 @@ /* Just like INLINE_SYSCALL(), but take a non-constant syscall (NCS) argument */ #ifndef INLINE_SYSCALL_NCS -# define INLINE_SYSCALL_NCS(name, nr, args...) \ +# define INLINE_SYSCALL_NCS(num, nr, args...) \ (__extension__ \ ({ \ INTERNAL_SYSCALL_DECL(__err); \ (__extension__ \ ({ \ - long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args); \ + long __res = INTERNAL_SYSCALL_NCS(num, __err, nr, args); \ if (unlikely(INTERNAL_SYSCALL_ERROR_P(__res, __err))) { \ __set_errno(INTERNAL_SYSCALL_ERRNO(__res, __err)); \ __res = -1L; \ @@ -57,10 +57,10 @@ ) #endif #ifndef INLINE_SYSCALL_NOERR_NCS -# define INLINE_SYSCALL_NOERR_NCS(name, nr, args...) \ +# define INLINE_SYSCALL_NOERR_NCS(num, nr, args...) \ ({ \ INTERNAL_SYSCALL_DECL(__err); \ - long __res = INTERNAL_SYSCALL_NCS(name, __err, nr, args); \ + long __res = INTERNAL_SYSCALL_NCS(num, __err, nr, args); \ __res; \ }) #endif