Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh add missing forward declaration for the STATIC= case.



details:   https://anonhg.NetBSD.org/src/rev/76b9a4389070
branches:  trunk
changeset: 345028:76b9a4389070
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 03 17:21:02 2016 +0000

description:
add missing forward declaration for the STATIC= case.

diffstat:

 bin/sh/exec.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9ed953c5adca -r 76b9a4389070 bin/sh/exec.c
--- a/bin/sh/exec.c     Tue May 03 17:10:26 2016 +0000
+++ b/bin/sh/exec.c     Tue May 03 17:21:02 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: exec.c,v 1.45 2013/11/01 16:49:02 christos Exp $       */
+/*     $NetBSD: exec.c,v 1.46 2016/05/03 17:21:02 christos Exp $       */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)exec.c     8.4 (Berkeley) 6/8/95";
 #else
-__RCSID("$NetBSD: exec.c,v 1.45 2013/11/01 16:49:02 christos Exp $");
+__RCSID("$NetBSD: exec.c,v 1.46 2016/05/03 17:21:02 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -102,6 +102,7 @@
 
 STATIC void tryexec(char *, char **, char **, int);
 STATIC void printentry(struct tblentry *, int);
+STATIC void addcmdentry(char *, struct cmdentry *);
 STATIC void clearcmdentry(int);
 STATIC struct tblentry *cmdlookup(const char *, int);
 STATIC void delete_cmd_entry(void);



Home | Main Index | Thread Index | Old Index