Module Name: src
Committed By: christos
Date: Tue May 3 17:21:02 UTC 2016
Modified Files:
src/bin/sh: exec.c
Log Message:
add missing forward declaration for the STATIC= case.
To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/bin/sh/exec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/sh/exec.c
diff -u src/bin/sh/exec.c:1.45 src/bin/sh/exec.c:1.46
--- src/bin/sh/exec.c:1.45 Fri Nov 1 12:49:02 2013
+++ src/bin/sh/exec.c Tue May 3 13:21:02 2016
@@ -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 @@ int exerrno = 0; /* Last exec error */
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);