summaryrefslogtreecommitdiff
path: root/bin/ksh/var.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 00:09:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 00:09:46 +0000
commit6a21bbfaba9f2366ca923756df0aec2af847bd44 (patch)
tree814903ef741856c64080362626a7cfbf657cde84 /bin/ksh/var.c
parent4b9c86257eb65db2ca49fe37b88e5c61ef421dab (diff)
protos
Diffstat (limited to 'bin/ksh/var.c')
-rw-r--r--bin/ksh/var.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ksh/var.c b/bin/ksh/var.c
index b6ee7ebf009..400e4f629b3 100644
--- a/bin/ksh/var.c
+++ b/bin/ksh/var.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: var.c,v 1.14 2003/04/16 23:11:52 tdeval Exp $ */
+/* $OpenBSD: var.c,v 1.15 2003/06/26 00:09:45 deraadt Exp $ */
#include "sh.h"
#include "ksh_time.h"
@@ -125,6 +125,8 @@ initvar()
* non-zero if this is an array, sets *valp to the array index, returns
* the basename of the array.
*/
+const char *array_index_calc(const char *n, bool_t *arrayp, int *valp);
+
const char *
array_index_calc(n, arrayp, valp)
const char *n;