Date: Wed, 26 Feb 2014 21:38:43 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262533 - head/bin/sh Message-ID: <201402262138.s1QLchL0015473@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402262138.s1QLchL0015473>