From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25041 invoked by alias); 4 Mar 2011 06:22:16 -0000 Received: (qmail 25032 invoked by uid 22791); 4 Mar 2011 06:22:15 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 06:22:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 31D802BAEB7; Fri, 4 Mar 2011 01:22:07 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id MWO8FwsLtrNP; Fri, 4 Mar 2011 01:22:07 -0500 (EST) Received: from kwai.gnat.com (kwai.gnat.com [205.232.38.4]) by rock.gnat.com (Postfix) with ESMTP id 1CB482BAE61; Fri, 4 Mar 2011 01:22:07 -0500 (EST) Received: by kwai.gnat.com (Postfix, from userid 4233) id 1648F92A53; Fri, 4 Mar 2011 01:22:07 -0500 (EST) From: Joel Brobecker To: gdb-patches@sourceware.org Cc: Joel Brobecker Subject: [VxWorks 01/20] fix parameter names in cli/cli-utils.h Date: Fri, 04 Mar 2011 06:22:00 -0000 Message-Id: <1299219720-13398-2-git-send-email-brobecker@adacore.com> In-Reply-To: <1299219720-13398-1-git-send-email-brobecker@adacore.com> References: <1299219720-13398-1-git-send-email-brobecker@adacore.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00252.txt.bz2 The declaration used "inp" as the name of the parameter for the two skip_spaces/skip_to_space routines, whereas the implementation used "chp". I reconciled the two using "chp" (seems slightly more intuitive, and also less work ;-) ). gdb/ChangeLog: * cli/cli-utils.h (skip_spaces, skip_to_space): Rename parameter from "inp" to "chp" to be in sync with implementation. Update documentation accordingly. --- gdb/cli/cli-utils.h | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h index 09240d0..8f0b46e 100644 --- a/gdb/cli/cli-utils.h +++ b/gdb/cli/cli-utils.h @@ -55,14 +55,14 @@ extern int get_number_or_range (char **); extern int number_is_in_list (char *list, int number); -/* Skip leading whitespace characters in INP, returning an updated - pointer. If INP is NULL, return NULL. */ +/* Skip leading whitespace characters in CHP, returning an updated + pointer. If CHP is NULL, return NULL. */ -extern char *skip_spaces (char *inp); +extern char *skip_spaces (char *chp); -/* Skip leading non-whitespace characters in INP, returning an updated - pointer. If INP is NULL, return NULL. */ +/* Skip leading non-whitespace characters in CHP, returning an updated + pointer. If CHP is NULL, return NULL. */ -extern char *skip_to_space (char *inp); +extern char *skip_to_space (char *chp); #endif /* CLI_UTILS_H */ -- 1.7.0.4