svn commit: r262533 - head/bin/sh

Jilles Tjoelker jilles at FreeBSD.org
Wed Feb 26 21:38:43 UTC 2014


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 *);


More information about the svn-src-head mailing list