From owner-svn-src-head@FreeBSD.ORG Wed Feb 26 21:38:43 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80CCA70C; Wed, 26 Feb 2014 21:38:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6D01F1F89; Wed, 26 Feb 2014 21:38:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1QLchf0015475; Wed, 26 Feb 2014 21:38:43 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1QLchL0015473; Wed, 26 Feb 2014 21:38:43 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201402262138.s1QLchL0015473@svn.freebsd.org> From: Jilles Tjoelker Date: Wed, 26 Feb 2014 21:38:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262533 - head/bin/sh X-SVN-Group: head 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.17 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: Wed, 26 Feb 2014 21:38:43 -0000 Author: jilles Date: Wed Feb 26 21:38:42 2014 New Revision: 262533 URL: http://svnweb.freebsd.org/changeset/base/262533 Log: sh: Make expari() static. Modified: head/bin/sh/expand.c head/bin/sh/expand.h Modified: head/bin/sh/expand.c ============================================================================== --- head/bin/sh/expand.c Wed Feb 26 19:14:54 2014 (r262532) +++ head/bin/sh/expand.c Wed Feb 26 21:38:42 2014 (r262533) @@ -100,6 +100,7 @@ static struct arglist exparg; /* holds static void argstr(char *, int); static char *exptilde(char *, int); +static void expari(int); static void expbackq(union node *, int, int); static int subevalvar(char *, char *, int, int, int, int, int); static char *evalvar(char *, int); @@ -390,7 +391,7 @@ removerecordregions(int endoff) * Expand arithmetic expression. Backup to start of expression, * evaluate, place result in (backed up) result, adjust string position. */ -void +static void expari(int flag) { char *p, *q, *start; Modified: head/bin/sh/expand.h ============================================================================== --- head/bin/sh/expand.h Wed Feb 26 19:14:54 2014 (r262532) +++ head/bin/sh/expand.h Wed Feb 26 21:38:42 2014 (r262533) @@ -58,6 +58,5 @@ struct arglist { union node; void expandarg(union node *, struct arglist *, int); -void expari(int); void rmescapes(char *); int casematch(union node *, const char *);